From cbf1a8286364373ecca5987da99f04405b935bec Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 17 Jan 2007 17:11:03 +0000 Subject: support VLAN_PLUS_VID_NO_PAD devices (#222975, #223011) --- rc.d/init.d/network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rc.d/init.d') 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 -- cgit v1.2.1