aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 29a09940..c49928c2 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -114,7 +114,7 @@ case "$1" in
continue
fi
- if [ "${DEVICE%%.*}" != "$DEVICE" ] ; then
+ if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then
vlaninterfaces="$vlaninterfaces $i"
continue
fi
@@ -223,7 +223,7 @@ case "$1" in
continue
fi
- if [ "${DEVICE%%.*}" != "$DEVICE" ] ; then
+ if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then
vlaninterfaces="$vlaninterfaces $i"
continue
fi