diff options
author | Bill Nottingham <notting@redhat.com> | 2003-11-07 14:59:38 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-11-07 14:59:38 +0000 |
commit | 99ee9105699e368892bfc04f2cda951e4ab1d10d (patch) | |
tree | ff2cee96dda263694241322f6c646f14de596682 | |
parent | 5d562ad428631738d1b7cc86c4efed07bea3817d (diff) | |
download | initscripts-99ee9105699e368892bfc04f2cda951e4ab1d10d.tar initscripts-99ee9105699e368892bfc04f2cda951e4ab1d10d.tar.gz initscripts-99ee9105699e368892bfc04f2cda951e4ab1d10d.tar.bz2 initscripts-99ee9105699e368892bfc04f2cda951e4ab1d10d.tar.xz initscripts-99ee9105699e368892bfc04f2cda951e4ab1d10d.zip |
get rid of error message
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index fa646669..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" ] || ethtool -i $DEVICE | 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##*/} |