From 579b9b101037b957985825707fbc25fe6d1768b5 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 19 Jul 2001 21:37:29 +0000 Subject: remove broken compatibility hack for gateway which results in having two default gateways --- sysconfig/network-scripts/ifup-ctc | 6 ------ sysconfig/network-scripts/ifup-iucv | 6 ------ 2 files changed, 12 deletions(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc index 2ee706f3..80c84391 100755 --- a/sysconfig/network-scripts/ifup-ctc +++ b/sysconfig/network-scripts/ifup-ctc @@ -29,12 +29,6 @@ if [ "${NETWORK}" != "" ] ; then route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE} fi -# this is broken! it's only here to keep compatibility with old RH sytstems -if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ] -then - route add default gw ${GATEWAY} metric 1 ${DEVICE} -fi - . /etc/sysconfig/network if [ "${GATEWAY}" != "" ]; then diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv index e1044ac9..5f4bb2fc 100755 --- a/sysconfig/network-scripts/ifup-iucv +++ b/sysconfig/network-scripts/ifup-iucv @@ -29,12 +29,6 @@ if [ "${NETWORK}" != "" ] ; then route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE} fi -# this is broken! it's only here to keep compatibility with old RH sytstems -if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ] -then - route add default gw ${GATEWAY} metric 1 ${DEVICE} -fi - . /etc/sysconfig/network if [ "${GATEWAY}" != "" ]; then -- cgit v1.2.1