aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index ea89e64d..432f0d2d 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -177,14 +177,6 @@ if [ -n "${DYNCONFIG}" -a -x /sbin/dhclient ]; then
echo $" failed."
exit 1
fi
-
- # DHCP likes to create duplicate routes. Fix that up.
- NUMDEFROUTES=`ip -o route | \
- awk '/^default/ { nlines++ } END { print nlines }'`
- if [ -n "$NUMDEFROUTES" ] && [ "$NUMDEFROUTES" -gt 1 ]; then
- # remove the default route for the new device (old route wins)
- ip route del default dev ${DEVICE}
- fi
# end dynamic device configuration
else
if [ -z "${IPADDR}" ]; then