summaryrefslogtreecommitdiffstats
path: root/etc/rc.start_packages
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-24 13:04:34 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-24 13:04:34 -0200
commitf9dfaeaeb2cc4f38dfe4d8b6ee6af5c8015a4ec6 (patch)
treeea1ea31b2e1e50fbb85260c125e6bd1a227365c2 /etc/rc.start_packages
parent0450ae556400616ef7bf3d7f628a996e35542134 (diff)
downloadpfsense-f9dfaeaeb2cc4f38dfe4d8b6ee6af5c8015a4ec6.zip
pfsense-f9dfaeaeb2cc4f38dfe4d8b6ee6af5c8015a4ec6.tar.gz
Revert "Make sure functions called by rc.start_packages can see $g['booting'] when we are booting"
This reverts commit 5eb99ec9fae6b6ff077559b3feab8565701f2635.
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