aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-ctc
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2001-07-19 21:37:29 +0000
committerKarsten Hopp <karsten@redhat.com>2001-07-19 21:37:29 +0000
commit579b9b101037b957985825707fbc25fe6d1768b5 (patch)
treed718c14ca781e39f50c5b659dae0cd24ae799f3c /sysconfig/network-scripts/ifup-ctc
parent9796e0aea7a8cf281d5bc79cdcba13953048fd79 (diff)
downloadinitscripts-579b9b101037b957985825707fbc25fe6d1768b5.tar
initscripts-579b9b101037b957985825707fbc25fe6d1768b5.tar.gz
initscripts-579b9b101037b957985825707fbc25fe6d1768b5.tar.bz2
initscripts-579b9b101037b957985825707fbc25fe6d1768b5.tar.xz
initscripts-579b9b101037b957985825707fbc25fe6d1768b5.zip
remove broken compatibility hack for gateway which results in having two default gateways
Diffstat (limited to 'sysconfig/network-scripts/ifup-ctc')
-rwxr-xr-xsysconfig/network-scripts/ifup-ctc6
1 files changed, 0 insertions, 6 deletions
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