Revert "Make sure functions called by rc.start_packages can see $g['booting'] when we are booting"

This reverts commit 5eb99ec9fa.
This commit is contained in:
Renato Botelho 2013-12-24 13:04:34 -02:00
parent 0450ae5564
commit f9dfaeaeb2

View File

@ -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']);
?>