From e289a3150e02f1b3b4e4ff05b80825eb0b2719ca Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Sun, 28 Nov 1999 08:00:41 +0000 Subject: this makes more sense --- sysconfig/network-scripts/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index a15293ee..efd18a7a 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -130,7 +130,7 @@ else if [ "${GATEWAY}" != "" ]; then route add default gw ${GATEWAY} ${DEVICE} DEFGW=${GATEWAY} - elif [ "${DEVICE}" != "lo" ]; then + elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then route add default ${DEVICE} fi fi -- cgit v1.2.1