diff options
author | Bill Nottingham <notting@redhat.com> | 2004-06-07 19:41:16 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-06-07 19:41:16 +0000 |
commit | 084a58eed7e5bef4951cd4f7ce5fa65a6ce13935 (patch) | |
tree | 6f0b7a6667dde1a9a0be04e3546d5ebf56e15e4e /sysconfig | |
parent | df05d00c3e64dec541cd615d67565a71da0c4a0f (diff) | |
download | initscripts-084a58eed7e5bef4951cd4f7ce5fa65a6ce13935.tar initscripts-084a58eed7e5bef4951cd4f7ce5fa65a6ce13935.tar.gz initscripts-084a58eed7e5bef4951cd4f7ce5fa65a6ce13935.tar.bz2 initscripts-084a58eed7e5bef4951cd4f7ce5fa65a6ce13935.tar.xz initscripts-084a58eed7e5bef4951cd4f7ce5fa65a6ce13935.zip |
remove bogus route setting (#120908)
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup-aliases | 5 |
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; |