summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-09 22:44:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-09 22:44:28 +0000
commit824edb6c68ff7745db37baf7facf463eae75e433 (patch)
treeac347bd0685be681b0923ee434004888c0756daa /usr/local/www/services_dhcp.php
parent87a86bf757f166bd41d3f012234868fa933dd65e (diff)
downloadpfsense-824edb6c68ff7745db37baf7facf463eae75e433.zip
pfsense-824edb6c68ff7745db37baf7facf463eae75e433.tar.gz
Eliminate reboots and correct messages
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-xusr/local/www/services_dhcp.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 85b5e33..e0d01ce 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -145,17 +145,10 @@ if ($_POST) {
interfaces_staticarp_configure($if);
$retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
- config_lock();
- $retval = services_dhcpd_configure();
- config_unlock();
- }
+ config_lock();
+ $retval = services_dhcpd_configure();
+ config_unlock();
$savemsg = get_std_save_message($retval);
-
- if ($retval == 0) {
- if (file_exists($d_staticmapsdirty_path))
- unlink($d_staticmapsdirty_path);
- }
}
}
OpenPOWER on IntegriCloud