From: Arne Fitzenreiter Date: Tue, 29 Sep 2009 17:57:07 +0000 (+0200) Subject: Fix tmpfs backup cronjob entry X-Git-Tag: v2.9-beta1~715 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=c2670d8a4201b0ae516736c723c3b48ec5a69ea7 Fix tmpfs backup cronjob entry --- diff --git a/config/cron/crontab b/config/cron/crontab index 82d2e078fc..cbc92cbc6f 100644 --- a/config/cron/crontab +++ b/config/cron/crontab @@ -22,7 +22,7 @@ HOME=/ # Make some nice graphs */5 * * * * /usr/local/bin/makegraphs >/dev/null -* 05 * * * /etc/init.d/tmpfs backup >/dev/null +17 5 * * * /etc/init.d/tmpfs backup >/dev/null # Force update the dynamic dns registration once a week # Force update even if IP has not changed once a month if 'minimize update' selected in GUI diff --git a/config/rootfiles/core/32/update.sh b/config/rootfiles/core/32/update.sh index f94caac65f..efa8c1b716 100644 --- a/config/rootfiles/core/32/update.sh +++ b/config/rootfiles/core/32/update.sh @@ -24,5 +24,10 @@ . /opt/pakfire/lib/functions.sh /usr/local/bin/backupctrl exclude >/dev/null 2>&1 extract_files +# +# Fix tmpfs Backup cronjob entry +grep -v "tmpfs backup" /var/spool/cron/root.orig > /var/tmp/root.tmp +echo "17 5 * * * /etc/init.d/tmpfs backup >/dev/null" >> /var/tmp/root.tmp +fcrontab /var/tmp/root.tmp #Update Language cache perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"