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 | |
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)
-rw-r--r-- | initscripts.spec | 2 | ||||
-rwxr-xr-x | rc.d/init.d/network | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec index aa69053e..5afb4c10 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -207,6 +207,8 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +- init.d/network: add support for VLAN_PLUS_VID_NO_PAD vlans (#222975) + * Mon Feb 12 2007 Miloslav Trmac <mitr@redhat.com> - 7.93.29.EL-1 - Revert a backport of UTF-8 support for console keymaps Related: #150769 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 |