From: Alexander Marx Date: Thu, 20 Jun 2019 05:04:30 +0000 (+0200) Subject: BUG12015: Redirecting to Captive portal does not work after IPFire restart X-Git-Tag: v2.23-core135~3^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1722701a9aab07e1a96ae25d2cedcbac403ddb76;p=ipfire-2.x.git BUG12015: Redirecting to Captive portal does not work after IPFire restart When the Captive portal is enabled, the needed firewall rules are applied. But when restarting IPFire, the rules are not applied because there is no call to do so. Added call to captivectrl in the initscrip 'firewall'. Fixes: #12015 Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index da89857d8b..b3483a7440 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -379,6 +379,9 @@ iptables_init() { # run wirelessctrl /usr/local/bin/wirelessctrl + # run captivectrl + /usr/local/bin/captivectrl + # POLICY CHAIN iptables -N POLICYIN iptables -A INPUT -j POLICYIN