aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 0dd92438..80542fc7 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -174,8 +174,8 @@ is_available ()
LC_ALL= LANG= ip -o link | grep -q $1
[ "$?" = "1" ] || return 0
- alias=`modprobe -c | awk "/^alias $1 / { print \\$3 }"`
- if [ -z "$alias" -o "$alias" = "off" ]; then
+ alias=`modprobe -c | awk "/^(alias|install) $1 / { print \\$3 }"`
+ if [ -z "$alias" -o "$alias" = "off" -o "$alias" = "/bin/true" ]; then
return 2
fi
HOTPLUG=`cat /proc/sys/kernel/hotplug`