From 1349c45777637c7828a7f40b92a68ba6f18b3baa Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 May 2014 11:54:53 +0200 Subject: [PATCH] core77: Only add timezone-transition rules when needed. --- config/rootfiles/core/77/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/core/77/update.sh b/config/rootfiles/core/77/update.sh index e19237fee..7e4416ab0 100644 --- a/config/rootfiles/core/77/update.sh +++ b/config/rootfiles/core/77/update.sh @@ -401,7 +401,7 @@ fi chown cron:cron /var/spool/cron # Update crontab -cat <> /var/spool/cron/root.orig +grep -q timezone-transition /var/spool/cron/root.orig || 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 -- 2.39.2