diff options
author | Karsten Hopp <karsten@redhat.com> | 2001-07-19 21:37:29 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2001-07-19 21:37:29 +0000 |
commit | 579b9b101037b957985825707fbc25fe6d1768b5 (patch) | |
tree | d718c14ca781e39f50c5b659dae0cd24ae799f3c /sysconfig | |
parent | 9796e0aea7a8cf281d5bc79cdcba13953048fd79 (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ctc | 6 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-iucv | 6 |
2 files changed, 0 insertions, 12 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 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 |