diff options
author | Bill Nottingham <notting@redhat.com> | 1999-11-24 16:57:41 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-11-24 16:57:41 +0000 |
commit | d285d5d6d97a615ee5a57088484c73d170ddf01f (patch) | |
tree | 7eddc7078dfc6c3ae3108766e3ac2499d44374a8 /sysconfig/network-scripts | |
parent | a8f86a5a69b6135b1bd0ec1911842cb0ee4dc190 (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifup | 2 |
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 |