aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index a71223e0..d2b254d4 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -84,7 +84,6 @@ add_default_route ()
. /etc/sysconfig/network
find_gateway_dev
if [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" -a "${GATEWAYDEV}" != "" ] ; then
- DEVICE=$GATEWAYDEV
if ! check_device_down ; then
/sbin/route add default gw ${GATEWAY} ${GATEWAYDEV}
fi