aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/network3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 62a344de..73e9d2f7 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -222,10 +222,9 @@ case "$1" in
fi
remaining="$remaining $i"
done
-
- unset DEVICE TYPE
for i in $vpninterfaces $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do
+ unset DEVICE TYPE
(. ./ifcfg-$i
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi