diff options
author | Bill Nottingham <notting@redhat.com> | 2004-06-07 18:43:13 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-06-07 18:43:13 +0000 |
commit | 19e0b412145b58e4dd1b403acc062f669b220b16 (patch) | |
tree | 55a1b4752c79dfec1acab2b62f3505ca8e954ac1 /sysconfig | |
parent | bc547fe7c72c8c106b05e643da054583533607ce (diff) | |
download | initscripts-19e0b412145b58e4dd1b403acc062f669b220b16.tar initscripts-19e0b412145b58e4dd1b403acc062f669b220b16.tar.gz initscripts-19e0b412145b58e4dd1b403acc062f669b220b16.tar.bz2 initscripts-19e0b412145b58e4dd1b403acc062f669b220b16.tar.xz initscripts-19e0b412145b58e4dd1b403acc062f669b220b16.zip |
remove duplicate setting of network routes (#125450)
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 5 |
1 files changed, 0 insertions, 5 deletions
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 |