diff options
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/net.hotplug | 2 |
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) |