From b23dd8b769d1a3775b3a7fc1ae9461f0e7e3c13a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 29 Jan 2014 14:37:17 +0100 Subject: [PATCH] core76: Add jobs for daylight saving time to updater. --- config/rootfiles/core/76/update.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/rootfiles/core/76/update.sh b/config/rootfiles/core/76/update.sh index aaa34bf06..655da31bc 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 ) -- 2.39.2