core77: Remove dialctrl.pl call from crontab.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 May 2014 10:00:11 +0000 (12:00 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 May 2014 10:00:11 +0000 (12:00 +0200)
config/rootfiles/core/77/update.sh

index 7e4416a..e9cf770 100644 (file)
@@ -407,6 +407,9 @@ grep -q timezone-transition /var/spool/cron/root.orig || cat <<EOF >> /var/spool
 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
+
+# Remove dialctrl script.
+sed -i /var/spool/cron/root.orig -e "/Dialup/,/dialctrl.pl/d"
 fcrontab -z &>/dev/null