summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-07-03 12:26:02 +0000
committerErmal <eri@pfsense.org>2013-07-03 12:27:57 +0000
commit5ee53aa1c9520651791937928f60c8a1ba15b2e4 (patch)
treec19ae8aa576f763e38c877499ab2fd4cfd7cb180 /etc/rc.linkup
parent51f98d0dcc69f3de22e70d1a1cb7c30e44c5c49f (diff)
downloadpfsense-5ee53aa1c9520651791937928f60c8a1ba15b2e4.zip
pfsense-5ee53aa1c9520651791937928f60c8a1ba15b2e4.tar.gz
Enforce the checking of booting up for linkup events
Diffstat (limited to 'etc/rc.linkup')
-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