aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-01-28 16:41:11 +0000
committerBill Nottingham <notting@redhat.com>2004-01-28 16:41:11 +0000
commitcd84d4bc9b6afb65a176771808ab172981405e09 (patch)
treef518f4be428a48b491b95d4ec0c7b30e3f4c71fc /sysconfig
parent1d0a1d1a9ef04f64b99f81c32f268e9f074d753f (diff)
downloadinitscripts-cd84d4bc9b6afb65a176771808ab172981405e09.tar
initscripts-cd84d4bc9b6afb65a176771808ab172981405e09.tar.gz
initscripts-cd84d4bc9b6afb65a176771808ab172981405e09.tar.bz2
initscripts-cd84d4bc9b6afb65a176771808ab172981405e09.tar.xz
initscripts-cd84d4bc9b6afb65a176771808ab172981405e09.zip
add another catch for bonding devices
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 5880bd25..a6d8133b 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -209,7 +209,7 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \
fi
# master device?
-if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then
+if [ "${TYPE}" = "Bonding" -o "${DEVICETYPE}" = "bond" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then
/sbin/ip link set dev ${DEVICE} up
for device in `fgrep -l "MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do
/sbin/ifup ${device##*/}