diff options
author | Bill Nottingham <notting@redhat.com> | 2009-10-20 16:56:32 -0400 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-09-13 15:42:32 +0200 |
commit | 3ae2380e43092dfdc12b2d242ade6bd1379fe1e7 (patch) | |
tree | 2923704ab86c341a26de0676c2d0e7f17883fe58 /sysconfig | |
parent | f08000519addd0b13fada0eba4afef72871613c1 (diff) | |
download | initscripts-3ae2380e43092dfdc12b2d242ade6bd1379fe1e7.tar initscripts-3ae2380e43092dfdc12b2d242ade6bd1379fe1e7.tar.gz initscripts-3ae2380e43092dfdc12b2d242ade6bd1379fe1e7.tar.bz2 initscripts-3ae2380e43092dfdc12b2d242ade6bd1379fe1e7.tar.xz initscripts-3ae2380e43092dfdc12b2d242ade6bd1379fe1e7.zip |
Load bonding driver if BONDING_OPTS is defined. (#516569)
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index ebd6fba3..8576245b 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -216,6 +216,8 @@ is_available () { [ -d "/sys/class/net/$1" ] && return 0 + [ -n "$BONDING_OPTS" ] && install_bonding_driver $1 + alias=$(modprobe -c | awk \ 'BEGIN { alias = ""; } $1 == "alias" && $2 == "'"$1"'" { alias = $3; } |