summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
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