From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Marx To: development@lists.ipfire.org Subject: [PATCH] BUG12015: Redirecting to Captive portal does not work after IPFire restart Date: Thu, 20 Jun 2019 07:04:30 +0200 Message-ID: <20190620050430.6719-1-alexander.marx@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1447412502512395428==" List-Id: --===============1447412502512395428== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable When the Captive portal is enabled, the needed firewall rules are applied. Bu= t 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 --- src/initscripts/system/firewall | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/system/firewall b/src/initscripts/system/firewall index da89857d8..b3483a744 100644 --- a/src/initscripts/system/firewall +++ b/src/initscripts/system/firewall @@ -379,6 +379,9 @@ iptables_init() { # run wirelessctrl /usr/local/bin/wirelessctrl =20 + # run captivectrl + /usr/local/bin/captivectrl + # POLICY CHAIN iptables -N POLICYIN iptables -A INPUT -j POLICYIN --=20 2.17.1 --===============1447412502512395428==--