From: Michael Tremer Date: Wed, 29 Jan 2014 13:37:17 +0000 (+0100) Subject: core76: Add jobs for daylight saving time to updater. X-Git-Tag: v2.15-beta2~61 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=b23dd8b769d1a3775b3a7fc1ae9461f0e7e3c13a core76: Add jobs for daylight saving time to updater. --- diff --git a/config/rootfiles/core/76/update.sh b/config/rootfiles/core/76/update.sh index aaa34bf060..655da31bcd 100644 --- a/config/rootfiles/core/76/update.sh +++ b/config/rootfiles/core/76/update.sh @@ -314,6 +314,15 @@ if [ -e /var/ipfire/qos/enable ]; then /usr/local/bin/qosctrl start fi +# Update crontab +cat <> /var/spool/cron/root.orig + +# Re-read firewall rules every Sunday in March, October and November to take care of daylight saving time +00 3 * 3 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl +00 2 * 10-11 0 /usr/local/bin/timezone-transition /usr/local/bin/firewallctrl +EOF +fcrontab -z &>/dev/null + case $(uname -m) in i?86 )