Fix bridge, vlan and bonding modules to work together, #174792.

This commit is contained in:
Roy Marples
2007-04-17 11:27:47 +00:00
parent f657d87b99
commit e635e16464
4 changed files with 9 additions and 3 deletions

View File

@@ -11,7 +11,8 @@ _config_vars="$_config_vars vlans"
_is_vlan() {
[ ! -d /proc/net/vlan ] && return 1
grep -q "^${IFACE}[[:space:]]+" /proc/net/vlan/config
[ -e /proc/net/vlan/"${IFACE}" ] && return 0
grep -Eq "^${IFACE}[[:space:]]+" /proc/net/vlan/config
}
_get_vlans() {