summaryrefslogtreecommitdiffstats
path: root/etc/rc.start_packages
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-24 13:01:52 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-24 13:01:52 -0200
commit677a64261cff92e301a3539addc1f1db1e015dbe (patch)
tree6907076724d839f2f790d8f4889b78c26cb6f61d /etc/rc.start_packages
parentafd33d687e5da3b8414163bd21a14182c6f3b8e7 (diff)
downloadpfsense-677a64261cff92e301a3539addc1f1db1e015dbe.zip
pfsense-677a64261cff92e301a3539addc1f1db1e015dbe.tar.gz
Revert "Make sure functions called by rc.start_packages can see $g['booting'] when we are booting"
This reverts commit 8a461f41db7907b310171b6e0fb901b2f5e7e2fe.
Diffstat (limited to 'etc/rc.start_packages')
-rwxr-xr-xetc/rc.start_packages7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/rc.start_packages b/etc/rc.start_packages
index 57de379..3d30587 100755
--- a/etc/rc.start_packages
+++ b/etc/rc.start_packages
@@ -41,10 +41,6 @@ require_once("service-utils.inc");
log_error("Restarting/Starting all packages.");
setup_library_paths();
-/* Detect if we are booting */
-if (file_exists("{$g['varrun_path']}/booting"))
- $g['booting'] = true;
-
$rcfiles = glob(RCFILEPREFIX . "*.sh");
if (!$rcfiles)
$rcfiles = array();
@@ -76,7 +72,4 @@ if ($shell) {
pclose($shell);
}
-/* done */
-unset($g['booting']);
-
?>
OpenPOWER on IntegriCloud