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:26:02 +0000
commit84f7e98c519a6a01f0c8a4c0d8c8772ec830eae2 (patch)
treebaa480944f05eecee7370163defb0e5722fc6c9a /etc/rc.linkup
parente336cd95f9a86111cab5c1ff11d907323349fe39 (diff)
downloadpfsense-84f7e98c519a6a01f0c8a4c0d8c8772ec830eae2.zip
pfsense-84f7e98c519a6a01f0c8a4c0d8c8772ec830eae2.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