diff options
author | Ermal <eri@pfsense.org> | 2013-07-03 12:26:02 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-07-03 12:27:57 +0000 |
commit | 5ee53aa1c9520651791937928f60c8a1ba15b2e4 (patch) | |
tree | c19ae8aa576f763e38c877499ab2fd4cfd7cb180 /etc/rc.linkup | |
parent | 51f98d0dcc69f3de22e70d1a1cb7c30e44c5c49f (diff) | |
download | pfsense-5ee53aa1c9520651791937928f60c8a1ba15b2e4.zip pfsense-5ee53aa1c9520651791937928f60c8a1ba15b2e4.tar.gz |
Enforce the checking of booting up for linkup events
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 4 |
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; |