diff options
author | Bill Nottingham <notting@redhat.com> | 2007-06-22 22:00:27 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-06-22 22:00:27 +0000 |
commit | 46c0123b4cd853adc15730654c120769f23ef206 (patch) | |
tree | e0f82025a95f3363cd737f268dc207ef2b3ddbbf /rc.d/init.d | |
parent | d77e0680c1f0669c1788176f9d08f520c5bf100d (diff) | |
download | initscripts-46c0123b4cd853adc15730654c120769f23ef206.tar initscripts-46c0123b4cd853adc15730654c120769f23ef206.tar.gz initscripts-46c0123b4cd853adc15730654c120769f23ef206.tar.bz2 initscripts-46c0123b4cd853adc15730654c120769f23ef206.tar.xz initscripts-46c0123b4cd853adc15730654c120769f23ef206.zip |
- init.d/network: add support for VLAN_PLUS_VID_NO_PAD vlans (#222975)
Diffstat (limited to 'rc.d/init.d')
-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 e2060ae0..89b82381 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -121,7 +121,7 @@ case "$1" in continue fi - if [ "${DEVICE%%.*}" != "$DEVICE" ] ; then + if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then vlaninterfaces="$vlaninterfaces $i" unset DEVICE TYPE SLAVE BRIDGE continue @@ -230,7 +230,7 @@ case "$1" in continue fi - if [ "${DEVICE%%.*}" != "$DEVICE" ] ; then + if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then vlaninterfaces="$vlaninterfaces $i" unset DEVICE TYPE SLAVE BRIDGE continue |