aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-11-28 08:00:41 +0000
committerBill Nottingham <notting@redhat.com>1999-11-28 08:00:41 +0000
commite289a3150e02f1b3b4e4ff05b80825eb0b2719ca (patch)
tree4a1eb66dc812112724ecb877eb2411f195fcb829 /sysconfig/network-scripts/ifup
parent3c0395be2f60e041aaba46c5787abd552bdaeab2 (diff)
downloadinitscripts-e289a3150e02f1b3b4e4ff05b80825eb0b2719ca.tar
initscripts-e289a3150e02f1b3b4e4ff05b80825eb0b2719ca.tar.gz
initscripts-e289a3150e02f1b3b4e4ff05b80825eb0b2719ca.tar.bz2
initscripts-e289a3150e02f1b3b4e4ff05b80825eb0b2719ca.tar.xz
initscripts-e289a3150e02f1b3b4e4ff05b80825eb0b2719ca.zip
this makes more sense
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
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