aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-11-24 16:57:41 +0000
committerBill Nottingham <notting@redhat.com>1999-11-24 16:57:41 +0000
commitd285d5d6d97a615ee5a57088484c73d170ddf01f (patch)
tree7eddc7078dfc6c3ae3108766e3ac2499d44374a8 /sysconfig/network-scripts
parenta8f86a5a69b6135b1bd0ec1911842cb0ee4dc190 (diff)
downloadinitscripts-d285d5d6d97a615ee5a57088484c73d170ddf01f.tar
initscripts-d285d5d6d97a615ee5a57088484c73d170ddf01f.tar.gz
initscripts-d285d5d6d97a615ee5a57088484c73d170ddf01f.tar.bz2
initscripts-d285d5d6d97a615ee5a57088484c73d170ddf01f.tar.xz
initscripts-d285d5d6d97a615ee5a57088484c73d170ddf01f.zip
don't add default loopback route
Diffstat (limited to 'sysconfig/network-scripts')
-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 7384c46c..a15293ee 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}
- else
+ elif [ "${DEVICE}" != "lo" ]; then
route add default ${DEVICE}
fi
fi