diff options
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -271,6 +271,12 @@ if_up() { ((IF_UP == 1)) && /sbin/ip link set dev ${iface} down return fi + while read -r -d \| VLANOPT; do + if [ -n "$VLANOPT" ]; then + debug_log "/sbin/ip link set dev ${1} type vlan $VLANOPT" + /sbin/ip link set dev ${1} type vlan $VLANOPT + fi + done <<<"${VLANOPTS[$i]}|" # The | on the end is required. fi # Set hardware address: if [ -n "${HWADDR[$i]}" ]; then |