diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-09 22:44:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-09 22:44:28 +0000 |
commit | 824edb6c68ff7745db37baf7facf463eae75e433 (patch) | |
tree | ac347bd0685be681b0923ee434004888c0756daa /usr/local/www/services_dhcp.php | |
parent | 87a86bf757f166bd41d3f012234868fa933dd65e (diff) | |
download | pfsense-824edb6c68ff7745db37baf7facf463eae75e433.zip pfsense-824edb6c68ff7745db37baf7facf463eae75e433.tar.gz |
Eliminate reboots and correct messages
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rwxr-xr-x | usr/local/www/services_dhcp.php | 13 |
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); - } } } |