aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network7
1 files changed, 7 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index b43d05ab..a3aeb0e0 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -109,17 +109,21 @@ case "$1" in
if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
cipeinterfaces="$cipeinterfaces $i"
+ unset DEVICE TYPE SLAVE
continue
fi
if [ "$TYPE" = "xDSL" ]; then
xdslinterfaces="$xdslinterfaces $i"
+ unset DEVICE TYPE SLAVE
continue
fi
if [ "$SLAVE" = "yes" ]; then
+ unset DEVICE TYPE SLAVE
continue
fi
+ unset DEVICE TYPE SLAVE
if LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i > /dev/null ; then
# this loads the module, to preserve ordering
is_available $i
@@ -196,12 +200,15 @@ case "$1" in
if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
cipeinterfaces="$cipeinterfaces $i"
+ unset DEVICE TYPE
continue
fi
if [ "$TYPE" = "xDSL" ]; then
xdslinterfaces="$xdslinterfaces $i"
+ unset DEVICE TYPE
continue
fi
+ unset DEVICE TYPE
done
for i in $cipeinterfaces $xdslinterfaces ; do