aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-01-28 16:41:39 +0000
committerBill Nottingham <notting@redhat.com>2004-01-28 16:41:39 +0000
commit3b2a233d339e71e13a1f2598ab7914293028483f (patch)
treeac7a8bf68bcde97d38c5f54ba4a23a1f8e5a7b1c /sysconfig/network-scripts/ifup
parentcd84d4bc9b6afb65a176771808ab172981405e09 (diff)
downloadinitscripts-3b2a233d339e71e13a1f2598ab7914293028483f.tar
initscripts-3b2a233d339e71e13a1f2598ab7914293028483f.tar.gz
initscripts-3b2a233d339e71e13a1f2598ab7914293028483f.tar.bz2
initscripts-3b2a233d339e71e13a1f2598ab7914293028483f.tar.xz
initscripts-3b2a233d339e71e13a1f2598ab7914293028483f.zip
oh wait, not on -HEAD
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-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 a6d8133b..5880bd25 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" -o "${DEVICETYPE}" = "bond" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then
+if [ "${TYPE}" = "Bonding" ] || 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##*/}