mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
0450ae5564
commit
f9dfaeaeb2
@ -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']);
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user