aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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