X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config%2Frootfiles%2Fcore%2F115%2Fupdate.sh;fp=config%2Frootfiles%2Fcore%2F115%2Fupdate.sh;h=95260c88c1e69a22ef6165ce730c699fe2577b12;hb=112a09508e9538d67af9e60c207724eca49b1c51;hp=e0ee121ce7a34141fa2d25cf392def98783a9c84;hpb=bbc69f228db9e050e1b585a1ac09c495d32ef41a;p=ipfire-2.x.git diff --git a/config/rootfiles/core/115/update.sh b/config/rootfiles/core/115/update.sh index e0ee121ce7..95260c88c1 100644 --- a/config/rootfiles/core/115/update.sh +++ b/config/rootfiles/core/115/update.sh @@ -48,6 +48,14 @@ ldconfig openvpnctrl -s openvpnctrl -sn2n +grep -q "captivectrl" /var/spool/cron/root.orig || cat <> /var/spool/cron/root.orig +# Cleanup captive clients +%hourly * /usr/bin/captive-cleanup + +# Reload captive firewall rules +%nightly * 23-1 /usr/local/bin/captivectrl >/dev/null +EOF +fcrontab -z # This update need a reboot... #touch /var/run/need_reboot