aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-01-25 05:25:16 +0000
committerBill Nottingham <notting@redhat.com>2002-01-25 05:25:16 +0000
commit85a64896201e6518087cdba0528244e7c74900a4 (patch)
treeb3588fea163f2b891341d084df5f7d404bdb3314
parent590aae606e2a4cb466d7cc4cd63222172d9fdeff (diff)
downloadinitscripts-85a64896201e6518087cdba0528244e7c74900a4.tar
initscripts-85a64896201e6518087cdba0528244e7c74900a4.tar.gz
initscripts-85a64896201e6518087cdba0528244e7c74900a4.tar.bz2
initscripts-85a64896201e6518087cdba0528244e7c74900a4.tar.xz
initscripts-85a64896201e6518087cdba0528244e7c74900a4.zip
modprobe interface name, not alias name (#55380)
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index e9a0a630..9213cedd 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -88,7 +88,7 @@ is_available ()
if [ -z "$alias" -o "$alias" = "off" ]; then
return 2
fi
- modprobe $alias >/dev/null 2>&1|| {
+ modprobe $1 >/dev/null 2>&1|| {
return 1
}
else