public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] BUG12015: Redirecting to Captive portal does not work after IPFire restart
@ 2019-06-20  5:04 Alexander Marx
  0 siblings, 0 replies; only message in thread
From: Alexander Marx @ 2019-06-20  5:04 UTC (permalink / raw)
  To: development

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-20  5:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-20  5:04 [PATCH] BUG12015: Redirecting to Captive portal does not work after IPFire restart Alexander Marx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox