aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-07 18:38:48 +0000
committerBill Nottingham <notting@redhat.com>2004-06-07 18:38:48 +0000
commit95471e15151a3232c34b7196105fa54cb9ab1080 (patch)
tree1efef0d0e328e75d50afd924f46177c953a04a77
parentc4c11c9c79ab89af8f8da731826523267ade1d8b (diff)
downloadinitscripts-95471e15151a3232c34b7196105fa54cb9ab1080.tar
initscripts-95471e15151a3232c34b7196105fa54cb9ab1080.tar.gz
initscripts-95471e15151a3232c34b7196105fa54cb9ab1080.tar.bz2
initscripts-95471e15151a3232c34b7196105fa54cb9ab1080.tar.xz
initscripts-95471e15151a3232c34b7196105fa54cb9ab1080.zip
remove duplicate setting of network routes (#125450)
-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 2f78479b..46ed8345 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -372,11 +372,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