summaryrefslogtreecommitdiffstats
path: root/etc/inc/globals.inc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-24 15:23:57 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-24 15:23:57 +0100
commitb8d092806fc770039055eee72f3937b3251a7c56 (patch)
treec66205961c60f0e5fc6e750cff1f1383fd1f0c2a /etc/inc/globals.inc
parent6668e18faa6d21356cc9785b3a6b1edf929b9cfa (diff)
downloadpfsense-b8d092806fc770039055eee72f3937b3251a7c56.zip
pfsense-b8d092806fc770039055eee72f3937b3251a7c56.tar.gz
Put the booting signal in globals.inc since it makes all the other scripts detect we are booting. Otherwise separate php instances will not detect that. rc.bootup clears this flag so all should work correctly
Diffstat (limited to 'etc/inc/globals.inc')
-rw-r--r--etc/inc/globals.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 61fbe28..471a10e 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -164,6 +164,9 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
if (file_exists("/etc/inc/globals_override.inc"))
@include("globals_override.inc");
+if (file_exists("{$g['varrun_path']}/booting"))
+ $g['booting'] = true;
+
$config_parsed = false;
?>
OpenPOWER on IntegriCloud