summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-27 20:54:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-27 20:54:06 +0000
commit099731b503850bb5f4f533b279ea529fdf490143 (patch)
tree83707640c3d338decae61750e14ab817ab98408c /usr/local/www
parentd087cf2438d1fe8272eb4e1c7ed44cbe879773bb (diff)
downloadpfsense-099731b503850bb5f4f533b279ea529fdf490143.zip
pfsense-099731b503850bb5f4f533b279ea529fdf490143.tar.gz
Do not require a reboot for captive portal configuration to take place.
This snuck back in after syncing with m0n0wall 1.2
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/services_captiveportal.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index 04ddd72..ad089a8 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -163,11 +163,11 @@ if ($_POST) {
write_config();
$retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
- config_lock();
- $retval = captiveportal_configure();
- config_unlock();
- }
+
+ config_lock();
+ $retval = captiveportal_configure();
+ config_unlock();
+
$savemsg = get_std_save_message($retval);
}
}
OpenPOWER on IntegriCloud