From 0450ae556400616ef7bf3d7f628a996e35542134 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 24 Dec 2013 13:04:33 -0200 Subject: Revert "Only unset $g['booting'] when it was set here" This reverts commit 73abb573feae03b164d3ed4284db4ed4ff26a256. --- etc/rc.start_packages | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'etc/rc.start_packages') diff --git a/etc/rc.start_packages b/etc/rc.start_packages index 1bb8da3..57de379 100755 --- a/etc/rc.start_packages +++ b/etc/rc.start_packages @@ -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']); ?> -- cgit v1.1