diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-29 23:08:51 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-29 23:08:51 +0000 |
commit | ecbd9034ac05c35ba975654a5b725d42e914ddaf (patch) | |
tree | 9f88977f69c02b10d477a0e29a40c35575952978 /sysconfig/network-scripts | |
parent | 48308fb5d11f1b7a55cbeb3127ec0d549cc0440e (diff) | |
download | initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.gz initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.bz2 initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.tar.xz initscripts-ecbd9034ac05c35ba975654a5b725d42e914ddaf.zip |
remove old broken code
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 5 |
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 |