diff options
author | Bill Nottingham <notting@redhat.com> | 2005-03-30 16:48:29 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2005-03-30 16:48:29 +0000 |
commit | 0b32aa5b7c6968b12113a82093430b933215b2a6 (patch) | |
tree | 2d6fc8688e0620abc10b9b4482029585718ce64c /rc.d | |
parent | d381a63a7e987352ac7900708e0d1c27d2bdc8ac (diff) | |
download | initscripts-0b32aa5b7c6968b12113a82093430b933215b2a6.tar initscripts-0b32aa5b7c6968b12113a82093430b933215b2a6.tar.gz initscripts-0b32aa5b7c6968b12113a82093430b933215b2a6.tar.bz2 initscripts-0b32aa5b7c6968b12113a82093430b933215b2a6.tar.xz initscripts-0b32aa5b7c6968b12113a82093430b933215b2a6.zip |
handle alternate VLAN naming schemes (#115001)
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/network | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 4a69dfd8..4a599e10 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -77,7 +77,8 @@ case "$1" in case "$VLAN" in yes) if [ -d /proc/net/vlan ] || modprobe 8021q >/dev/null 2>&1 ; then - action $"Setting 802.1Q VLAN parameters: " /sbin/vconfig set_name_type DEV_PLUS_VID_NO_PAD + test -z "$VLAN_NAME_TYPE" && VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD + action $"Setting 802.1Q VLAN parameters: " /sbin/vconfig set_name_type "$VLAN_NAME_TYPE" else echo $"No 802.1Q VLAN support available in kernel." fi |