]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/captive-cleanup
captive portal: Reload firewall rules after cleanup
[ipfire-2.x.git] / src / scripts / captive-cleanup
index cf73760d0d998c08a5fea4678d6a5d877659339b..b576df4fe59295373625f87483e542b415107871 100755 (executable)
@@ -46,4 +46,7 @@ if (-f $settingsfile && -f $clients && ! -z $clients){
                }
        }
        &General::writehasharray("$clients", \%clientshash);
+
+       # Reload firewall rules
+       system("/usr/local/bin/captivectrl");
 }