core76: Add jobs for daylight saving time to updater.

This commit is contained in:
Michael Tremer
2014-01-29 14:37:17 +01:00
parent 4944049ea4
commit b23dd8b769

View File

@@ -314,6 +314,15 @@ if [ -e /var/ipfire/qos/enable ]; then
/usr/local/bin/qosctrl start
fi
# Update crontab
cat <<EOF >> /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 )