diff options
author | Bill Nottingham <notting@redhat.com> | 2007-06-22 21:10:30 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-06-22 21:10:30 +0000 |
commit | 7ed132f392bf35527b9e2a0de18fa99c75a2f414 (patch) | |
tree | dc4c85ea43686ddd5d13539898856fbcc634430b /rc.d/init.d | |
parent | 35d46693cae16387feb6befc0094ceee10e69433 (diff) | |
download | initscripts-7ed132f392bf35527b9e2a0de18fa99c75a2f414.tar initscripts-7ed132f392bf35527b9e2a0de18fa99c75a2f414.tar.gz initscripts-7ed132f392bf35527b9e2a0de18fa99c75a2f414.tar.bz2 initscripts-7ed132f392bf35527b9e2a0de18fa99c75a2f414.tar.xz initscripts-7ed132f392bf35527b9e2a0de18fa99c75a2f414.zip |
- add support for VLAN_PLUS_VID_NO_PAD vlans (#229285)
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 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 |