diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 04:33:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-26 04:33:04 +0000 |
commit | c99250702535d6ba2b1936cbaace690b3100cef9 (patch) | |
tree | 7341ecc960277e19c8bc35330ae3eb5b04b38fb9 /etc | |
parent | 6528c2b779cb68bfdd2276796544d184572c8f7b (diff) | |
download | pfsense-c99250702535d6ba2b1936cbaace690b3100cef9.zip pfsense-c99250702535d6ba2b1936cbaace690b3100cef9.tar.gz |
We already reloaded, remove any reload indicators
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 917742d..9104b68 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1435,6 +1435,9 @@ function reload_interfaces_sync() { if($shutdown_webgui_needed == true) touch("/tmp/restart_webgui"); + /* start devd back up */ + mwexec("/bin/rm /tmp/reload*"); + /* remove reloading_all trigger */ if($debug) log_error("Removing {$g['tmp_path']}/reloading_all"); @@ -1591,7 +1594,7 @@ function reload_all_sync() { global $config, $g; touch("{$g['tmp_path']}/reloading_all"); - + $shutdown_webgui_needed = false; if(file_exists("{$g['tmp_path']}/config.cache")) @@ -1687,12 +1690,12 @@ function reload_all_sync() { /* restart sshd */ touch("/tmp/start_sshd"); - + /* restart webConfigurator if needed */ if($shutdown_webgui_needed == true) touch("/tmp/restart_webgui"); - + mwexec("/bin/rm /tmp/reload*"); unlink_if_exists("{$g['tmp_path']}/reloading_all"); |