summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 0c6db18..a249bed 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -83,9 +83,7 @@ function handle_argument_group($iface, $argument2) {
}
global $g;
-if (file_exists("{$g['varrun_path']}/booting")) {
- /* ignore all linkup events */
-} else {
+if (!file_exists("{$g['varrun_path']}/booting") && empty($g['booting'])) {
if ($argc < 3) {
log_error("HOTPLUG event: The number of required parameters not passed!");
exit;
OpenPOWER on IntegriCloud