From: Alexander Marx <alexander.marx@ipfire.org>
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 [thread overview]
Message-ID: <20190620050430.6719-1-alexander.marx@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 754 bytes --]
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
---
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
+ # run captivectrl
+ /usr/local/bin/captivectrl
+
# POLICY CHAIN
iptables -N POLICYIN
iptables -A INPUT -j POLICYIN
--
2.17.1
reply other threads:[~2019-06-20 5:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190620050430.6719-1-alexander.marx@ipfire.org \
--to=alexander.marx@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox