summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-01-17 17:11:03 +0000
committerBill Nottingham <notting@redhat.com>2007-01-17 17:11:03 +0000
commitcbf1a8286364373ecca5987da99f04405b935bec (patch)
treec4f9dd5dac53dc398f5c434447de4c209371e0bd
parentfb6cfee8e0458bf794d9a346cc2502afd5e3d4ba (diff)
downloadinitscripts-cbf1a8286364373ecca5987da99f04405b935bec.tar.gz
initscripts-cbf1a8286364373ecca5987da99f04405b935bec.tar.xz
initscripts-cbf1a8286364373ecca5987da99f04405b935bec.zip
support VLAN_PLUS_VID_NO_PAD devices (#222975, #223011)
-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