From 7d0027bc108e585de5a5ae60d3aa25d9b07003a8 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 28 Sep 2008 13:04:36 +0200 Subject: [PATCH] Fix type in updater.sh --- config/rootfiles/updater/update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/updater/update.sh b/config/rootfiles/updater/update.sh index aa3780884..43cb385f1 100755 --- a/config/rootfiles/updater/update.sh +++ b/config/rootfiles/updater/update.sh @@ -171,7 +171,8 @@ echo \\n running on \\s \\r \\m >> /etc/issue # Update crontab # grep -v "ipacsum" /var/spool/cron/root.orig > /tmp/root.orig.tmp -echo "Backup collectd files\n01 * * * * /etc/init.d/collectd backup >/dev/null" >> /tmp/root.orig.tmp +echo "# Backup collectd files" >> /tmp/root.orig.tmp +echo "01 * * * * /etc/init.d/collectd backup >/dev/null" >> /tmp/root.orig.tmp mv /tmp/root.orig.tmp /var/spool/cron/root.orig chmod 600 /var/spool/cron/root.orig chown root:cron /var/spool/cron/root.orig -- 2.39.2