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 <michael.tremer@ipfire.org>
This commit is contained in:
Alexander Marx 2019-06-20 07:04:30 +02:00 committed by Michael Tremer
parent 744f16e45a
commit 1722701a9a
1 changed files with 3 additions and 0 deletions

View File

@ -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