aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-07 18:44:34 +0000
committerBill Nottingham <notting@redhat.com>2004-06-07 18:44:34 +0000
commit31bef2825b1455a6d5acdf14caa418769a61d8f5 (patch)
tree5b18ca7089b3e23281abf817f1407ff5741d8586 /sysconfig
parent98aaba77fd2277ec09ed20942eb303e6b7860e1a (diff)
downloadinitscripts-31bef2825b1455a6d5acdf14caa418769a61d8f5.tar
initscripts-31bef2825b1455a6d5acdf14caa418769a61d8f5.tar.gz
initscripts-31bef2825b1455a6d5acdf14caa418769a61d8f5.tar.bz2
initscripts-31bef2825b1455a6d5acdf14caa418769a61d8f5.tar.xz
initscripts-31bef2825b1455a6d5acdf14caa418769a61d8f5.zip
remove duplicate setting of network routes (#125450)
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 163bdb69..bbd151bf 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -251,11 +251,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 ]; then
- ip route replace ${NETWORK}/${PREFIX} ${SRC} dev ${REALDEVICE}
- fi
-
# Set a default route.
if [ -z "${GATEWAYDEV}" -o "${GATEWAYDEV}" = "${REALDEVICE}" ]; then
# set up default gateway