aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index eb2ce1c8..36d207a7 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -201,7 +201,8 @@ is_available ()
[ "$?" = "1" ] || return 0
alias=`modprobe -c | awk "/^(alias|install)[[:space:]]+$1[[:space:]]/ { print \\$3 }"`
- if [ -z "$alias" -o "$alias" = "off" -o "$alias" = "/bin/true" ]; then
+ if [ -z "$alias" -o "$alias" = "off" -o "$alias" = "/bin/true" \
+ -o "$alias" = ":" ]; then
return 2
fi
modprobe $1 > /dev/null 2>&1 || {