From: Michael Tremer Date: Thu, 5 Oct 2017 10:09:58 +0000 (+0200) Subject: captive portal: Reload firewall rules after cleanup X-Git-Tag: v2.19-core115~57 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb40ff6027c8eb06d4f2446c4a606084a39addc0;p=ipfire-2.x.git captive portal: Reload firewall rules after cleanup This is not necessary to stop any clients from accessing the Internet, but if we know that we don't need a line for certain any more, we can as well remove the firewall rule straight away. Signed-off-by: Michael Tremer --- diff --git a/src/scripts/captive-cleanup b/src/scripts/captive-cleanup index cf73760d0d..b576df4fe5 100755 --- a/src/scripts/captive-cleanup +++ b/src/scripts/captive-cleanup @@ -46,4 +46,7 @@ if (-f $settingsfile && -f $clients && ! -z $clients){ } } &General::writehasharray("$clients", \%clientshash); + + # Reload firewall rules + system("/usr/local/bin/captivectrl"); }