aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/net.hotplug2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/net.hotplug b/sysconfig/network-scripts/net.hotplug
index 36181963..b10131d1 100755
--- a/sysconfig/network-scripts/net.hotplug
+++ b/sysconfig/network-scripts/net.hotplug
@@ -14,6 +14,8 @@ if [ "$INTERFACE" = "" ]; then
exit 1
fi
+[ "$(cat /sys/class/net/$INTERFACE/type)" != "1" ] && exit 0
+
case $ACTION in
add|register)