mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert "Only unset $g['booting'] when it was set here"
This reverts commit 73abb573fe.
This commit is contained in:
parent
73abb573fe
commit
0450ae5564
@ -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']);
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user