diff options
author | Bill Nottingham <notting@redhat.com> | 2004-06-07 19:16:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-06-07 19:16:59 +0000 |
commit | b487050453d0a536df32032b08ead1419aaad0a4 (patch) | |
tree | 75cac4d4d518e44c6ef3f941f2dbc47a29b53081 /sysconfig/network-scripts/ifdown | |
parent | 95471e15151a3232c34b7196105fa54cb9ab1080 (diff) | |
download | initscripts-b487050453d0a536df32032b08ead1419aaad0a4.tar initscripts-b487050453d0a536df32032b08ead1419aaad0a4.tar.gz initscripts-b487050453d0a536df32032b08ead1419aaad0a4.tar.bz2 initscripts-b487050453d0a536df32032b08ead1419aaad0a4.tar.xz initscripts-b487050453d0a536df32032b08ead1419aaad0a4.zip |
vlan fixes (#107504, <hrunting@texas.net>)
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index a6136d23..0c3c1247 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -137,7 +137,7 @@ fi if [ -n "$VLAN" -a -x /sbin/vconfig ]; then # 802.1q VLAN - if echo ${DEVICE} | LANG=C egrep -v '(:)' | LANG=C egrep -q 'eth[0-9][0-9]*\.[0-9][0-9]?[0-9]?[0-9]?' ; then + if echo ${DEVICE} | LANG=C egrep -v '(:)' | LANG=C egrep -q '(eth|bond)[0-9][0-9]*\.[0-9][0-9]?[0-9]?[0-9]?' ; then [ -f /proc/net/vlan/${DEVICE} ] && { /sbin/vconfig rem ${DEVICE} } |