From 0b9291d33656cedb90958aa17dd1978fd9db7d37 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 7 Nov 2003 15:00:01 +0000 Subject: get rid of error message --- sysconfig/network-scripts/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 8e609072..447105ae 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -126,7 +126,7 @@ if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" -a \ fi # master device? -if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE | grep -q "driver: bonding" ; then +if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver: bonding" ; then ifconfig ${DEVICE} up for device in `fgrep -l "MASTER=${DEVICE}" /etc/sysconfig/network-scripts/ifcfg-*` ; do /sbin/ifup ${device##*/} -- cgit v1.2.1