From 39398df6c9b9fb730ab401c3ca607188205cbf64 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 7 Jun 2004 19:40:24 +0000 Subject: remove bogus route setting (#120908) --- sysconfig/network-scripts/ifup-aliases | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sysconfig/network-scripts') 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; -- cgit v1.2.1