From ecbd9034ac05c35ba975654a5b725d42e914ddaf Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 29 Jan 2001 23:08:51 +0000 Subject: remove old broken code --- sysconfig/network-scripts/ifup | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sysconfig/network-scripts') 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 -- cgit v1.2.1