diff options
Diffstat (limited to 'sysconfig')
-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 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 |