diff options
author | Bill Nottingham <notting@redhat.com> | 2007-01-17 17:11:03 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-01-17 17:11:03 +0000 |
commit | cbf1a8286364373ecca5987da99f04405b935bec (patch) | |
tree | c4f9dd5dac53dc398f5c434447de4c209371e0bd | |
parent | fb6cfee8e0458bf794d9a346cc2502afd5e3d4ba (diff) | |
download | initscripts-cbf1a8286364373ecca5987da99f04405b935bec.tar.gz initscripts-cbf1a8286364373ecca5987da99f04405b935bec.tar.xz initscripts-cbf1a8286364373ecca5987da99f04405b935bec.zip |
support VLAN_PLUS_VID_NO_PAD devices (#222975, #223011)
-rwxr-xr-x | rc.d/init.d/network | 4 |
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 |