summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 921966f..b8bb053 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -224,6 +224,9 @@ function interfaces_optional_configure() {
/* restart dnsmasq */
services_dnsmasq_configure();
+ /* reload captive portal */
+ captiveportal_configure();
+
/* set the reload filter dity flag */
touch("{$g['tmp_path']}/filter_dirty");
}
@@ -869,6 +872,9 @@ function interfaces_wan_configure() {
/* restart dnsmasq */
services_dnsmasq_configure();
+
+ /* reload captive portal */
+ captiveportal_configure();
}
mwexec("/sbin/ifconfig {$wancfg['if']} up");
@@ -1501,4 +1507,4 @@ function discover_bridge($interface1, $interface2) {
return "-1";
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud