diff options
| author | Bill Nottingham <notting@redhat.com> | 2003-11-07 14:59:05 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2003-11-07 14:59:05 +0000 |
| commit | d33f55f2c655d1e79c54e78df08752da663072e3 (patch) | |
| tree | b643cca8a288ca1f6585327962ddc6d3f5eae989 /sysconfig | |
| parent | ddd8b051327682c944e856c8e04fcce027aeeb82 (diff) | |
get rid of error message
Diffstat (limited to 'sysconfig')
| -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 d8924cdb..3c8617cc 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -177,7 +177,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##*/} |
