mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 23:12:59 +02:00
Fix tmpfs backup cronjob entry
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user