From f9dfaeaeb2cc4f38dfe4d8b6ee6af5c8015a4ec6 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 24 Dec 2013 13:04:34 -0200 Subject: [PATCH] Revert "Make sure functions called by rc.start_packages can see $g['booting'] when we are booting" This reverts commit 5eb99ec9fae6b6ff077559b3feab8565701f2635. --- etc/rc.start_packages | 7 ------- 1 file changed, 7 deletions(-) diff --git a/etc/rc.start_packages b/etc/rc.start_packages index 57de379200..3d30587718 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']); - ?>