Fix tmpfs backup cronjob entry

This commit is contained in:
Arne Fitzenreiter
2009-09-29 19:57:07 +02:00
parent ccab85aeed
commit c2670d8a42
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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"