From 251ffdada3edd2bc992d9a3d95471c434c0bc573 Mon Sep 17 00:00:00 2001 From: Andrea Cimbalo Date: Fri, 5 Jul 2013 18:59:02 +0200 Subject: [PATCH] move to cat --- fix-vm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fix-vm b/fix-vm index edac04f..c35de6a 100644 --- a/fix-vm +++ b/fix-vm @@ -1,7 +1,7 @@ #apt source -echo << 'EOF' > /etc/apt/sources.list.d/debian.list +cat << 'EOF' > /etc/apt/sources.list.d/debian.list deb http://freedom.dicea.unifi.it/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb http://freedom.dicea.unifi.it/debian/ wheezy-updates main @@ -23,15 +23,15 @@ apt-get install rsyslog -y -q #email alias if [ `grep -c "root: " /etc/aliases` -lt 1 ]; then - echo "root: roots@lilik.it" >> /etc/aliases + cat "root: roots@lilik.it" >> /etc/aliases else - echo "alias for root alredy exists:" + cat "alias for root alredy exists:" grep "root: " /etc/aliases fi apt-get install exim4 -y -q -echo << 'EOF' > /etc/exim4/update-exim4.conf.conf +cat << 'EOF' > /etc/exim4/update-exim4.conf.conf # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf @@ -74,7 +74,7 @@ apt-get install cron-apt -y sed -i 's/#[\t ]*dist-upgrade -y -o APT::Get::Show-Upgraded=true/dist-upgrade -y -o APT::Get::Show-Upgraded=true/g' /etc/locale.gen -echo << 'EOF' >/etc/cron-apt/config +cat << 'EOF' >/etc/cron-apt/config # Configuration for cron-apt. For further information about the possible # configuration settings see /usr/share/doc/cron-apt/README.gz.