aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/net.hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/net.hotplug')
-rwxr-xr-xsysconfig/network-scripts/net.hotplug3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/net.hotplug b/sysconfig/network-scripts/net.hotplug
index 36181963..256fea8b 100755
--- a/sysconfig/network-scripts/net.hotplug
+++ b/sysconfig/network-scripts/net.hotplug
@@ -24,6 +24,9 @@ add|register)
;;
# interfaces that are registered then brought up
*)
+ if [ -e /proc/net/vlan/${INTERFACE} ]; then
+ exit 0
+ fi
export IN_HOTPLUG=1
if [ -x /sbin/ifup ]; then
addr=$(get_hwaddr ${INTERFACE})