summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-26 04:33:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-26 04:33:04 +0000
commitc99250702535d6ba2b1936cbaace690b3100cef9 (patch)
tree7341ecc960277e19c8bc35330ae3eb5b04b38fb9 /etc
parent6528c2b779cb68bfdd2276796544d184572c8f7b (diff)
downloadpfsense-c99250702535d6ba2b1936cbaace690b3100cef9.zip
pfsense-c99250702535d6ba2b1936cbaace690b3100cef9.tar.gz
We already reloaded, remove any reload indicators
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc9
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");
OpenPOWER on IntegriCloud