From 19e0b412145b58e4dd1b403acc062f669b220b16 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 7 Jun 2004 18:43:13 +0000 Subject: remove duplicate setting of network routes (#125450) --- sysconfig/network-scripts/ifup | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 3c8617cc..39079fd0 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -336,11 +336,6 @@ else ( sleep 2; arping -q -U -c 1 -I ${REALDEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null & - # Add a route for the subnet. Replace any existing route. - if [ "${ISALIAS}" = no -a "${NETMASK}" != "255.255.255.255" ]; then - ip route replace ${NETWORK}/${PREFIX} ${SRC} ${WINDOW:+window $WINDOW} dev ${REALDEVICE} - fi - # Set a default route. if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then # set up default gateway. replace if one already exists -- cgit