aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-07 19:40:24 +0000
committerBill Nottingham <notting@redhat.com>2004-06-07 19:40:24 +0000
commit39398df6c9b9fb730ab401c3ca607188205cbf64 (patch)
tree1c40de8e5ec9ed8bb3b741046fc2707a247ae84b
parentb487050453d0a536df32032b08ead1419aaad0a4 (diff)
downloadinitscripts-39398df6c9b9fb730ab401c3ca607188205cbf64.tar
initscripts-39398df6c9b9fb730ab401c3ca607188205cbf64.tar.gz
initscripts-39398df6c9b9fb730ab401c3ca607188205cbf64.tar.bz2
initscripts-39398df6c9b9fb730ab401c3ca607188205cbf64.tar.xz
initscripts-39398df6c9b9fb730ab401c3ca607188205cbf64.zip
remove bogus route setting (#120908)
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index f892571b..cbaa2bad 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -259,11 +259,6 @@ function new_interface ()
if [ "$NO_ALIASROUTING" != yes ]; then
- # 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
-
GATEWAY=$network_GATEWAY;
GATEWAYDEV=$network_GATEWAYDEV;