* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 112a09508e9538d67af9e60c207724eca49b1c51
@ 2017-10-05 10:38 git
0 siblings, 0 replies; only message in thread
From: git @ 2017-10-05 10:38 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 112a09508e9538d67af9e60c207724eca49b1c51 (commit)
from bbc69f228db9e050e1b585a1ac09c495d32ef41a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 112a09508e9538d67af9e60c207724eca49b1c51
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Thu Oct 5 11:38:05 2017 +0100
core115: Add captive portal cron jobs to updater
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/115/update.sh | 8 ++++++++
1 file changed, 8 insertions(+)
Difference in files:
diff --git a/config/rootfiles/core/115/update.sh b/config/rootfiles/core/115/update.sh
index e0ee121..95260c8 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 <<EOF >> /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
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-05 10:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05 10:38 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 112a09508e9538d67af9e60c207724eca49b1c51 git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox