summaryrefslogtreecommitdiffstats
path: root/etc/rc.start_packages
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-24 13:01:48 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-24 13:01:48 -0200
commitafd33d687e5da3b8414163bd21a14182c6f3b8e7 (patch)
tree3047db288208f46354c12355c29c9386ee5e9a3c /etc/rc.start_packages
parent47493bd326cd7141df7df708b69e10479ed800af (diff)
downloadpfsense-afd33d687e5da3b8414163bd21a14182c6f3b8e7.zip
pfsense-afd33d687e5da3b8414163bd21a14182c6f3b8e7.tar.gz
Revert "Only unset $g['booting'] when it was set here"
This reverts commit 47493bd326cd7141df7df708b69e10479ed800af.
Diffstat (limited to 'etc/rc.start_packages')
-rwxr-xr-xetc/rc.start_packages7
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages
index 1bb8da3..57de379 100755
--- a/etc/rc.start_packages
+++ b/etc/rc.start_packages
@@ -42,10 +42,8 @@ log_error("Restarting/Starting all packages.");
setup_library_paths();
/* Detect if we are booting */
-if (!isset($g['booting']) && file_exists("{$g['varrun_path']}/booting")) {
+if (file_exists("{$g['varrun_path']}/booting"))
$g['booting'] = true;
- $unset_g_booting = true;
-}
$rcfiles = glob(RCFILEPREFIX . "*.sh");
if (!$rcfiles)
@@ -79,7 +77,6 @@ if ($shell) {
}
/* done */
-if ($unset_g_booting)
- unset($g['booting']);
+unset($g['booting']);
?>
OpenPOWER on IntegriCloud