From dfdb699ff30d0a5dc799d79de70150823a6942ea Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 20 Oct 2009 16:56:32 -0400 Subject: Load bonding driver if BONDING_OPTS is defined. (#516569) --- sysconfig/network-scripts/network-functions | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 1583a3ae..43c86064 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -180,6 +180,8 @@ is_available () LC_ALL= LANG= ip -o link | grep -q $1 [ "$?" = "1" ] || return 0 + [ -n "$BONDING_OPTS" ] && install_bonding_driver $1 + alias=$(modprobe -c | awk \ 'BEGIN { alias = ""; } $1 == "alias" && $2 == "'"$1"'" { alias = $3; } -- cgit v1.2.1