aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-29 23:08:51 +0000
committerBill Nottingham <notting@redhat.com>2001-01-29 23:08:51 +0000
commitecbd9034ac05c35ba975654a5b725d42e914ddaf (patch)
tree9f88977f69c02b10d477a0e29a40c35575952978
parent48308fb5d11f1b7a55cbeb3127ec0d549cc0440e (diff)
downloadinitscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar
initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.gz
initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.bz2
initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.xz
initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.zip
remove old broken code
-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 d9757728..e9f66025 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -149,11 +149,6 @@ else
route add -net ${NETWORK} netmask ${NETMASK} dev ${DEVICE}
fi
- # this is broken! it's only here for compatibility with old RH systems
- if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ]; then
- route add default gw ${GATEWAY} metric 1 ${DEVICE}
- fi
-
. /etc/sysconfig/network
if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then