aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-08 20:06:15 +0000
committerBill Nottingham <notting@redhat.com>2004-06-08 20:06:15 +0000
commit5bda93462103efaf18447f3c9c3f48db90954e80 (patch)
tree96c56ac636d6871411c3a80e451b9e75910817c7 /sysconfig/network-scripts/ifup
parent576cb4fa70075cb8e863cda7c4c17f155c5abc71 (diff)
downloadinitscripts-5bda93462103efaf18447f3c9c3f48db90954e80.tar
initscripts-5bda93462103efaf18447f3c9c3f48db90954e80.tar.gz
initscripts-5bda93462103efaf18447f3c9c3f48db90954e80.tar.bz2
initscripts-5bda93462103efaf18447f3c9c3f48db90954e80.tar.xz
initscripts-5bda93462103efaf18447f3c9c3f48db90954e80.zip
clean up errors
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 2cb24bb0..1b48685b 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -402,7 +402,7 @@ if [ "${TYPE}" = "Bonding" ] || ethtool -i $DEVICE 2>/dev/null| grep -q "driver
DEV=$DEVICE
eval $(LANG=C fgrep "DEVICE=" $device)
ip link set ${DEVICE} up
- ip route flush dev ${DEVICE}
+ ip route flush dev ${DEVICE} >/dev/null 2>&1
DEVICE=$DEV
fi
done