summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-05-11 10:45:59 -0400
committerjim-p <jimp@pfsense.org>2010-05-11 11:05:33 -0400
commit24d5fc0aa332b86a81f520eeef6232bf5b5fe745 (patch)
tree10357b4c9e3bfb003f5b1c4cbf928d3c49d14708 /etc/rc.linkup
parent246aceaaf518d6ccb7a74354bf46e364539be195 (diff)
downloadpfsense-24d5fc0aa332b86a81f520eeef6232bf5b5fe745.zip
pfsense-24d5fc0aa332b86a81f520eeef6232bf5b5fe745.tar.gz
Fix booting checks. Part of ticket #53.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 5f4bf61..59c604e 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -63,7 +63,8 @@ function handle_argument_group($iface, $argument2) {
}
}
-if ($g['booting'] == true) {
+global $g;
+if (file_exists("{$g['varrun_path']}/booting")) {
/* ignore all linkup events */
} else {
foreach($_SERVER['argv'] as $argv) {
OpenPOWER on IntegriCloud