diff options
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -154,6 +154,12 @@ br_open() { debug_log "/sbin/ip link set dev $BRIF up" /sbin/ip link set dev $BRIF up done + while read -r -d \| BROPT; do + if [ -n "$BROPT" ]; then + debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bridge $BROPT" + /sbin/ip link set dev ${IFNAME[$1]} type bridge $BROPT + fi + done <<<"${BROPTS[$i]}|" # The | on the end is required. debug_log "/sbin/ip link set dev ${IFNAME[$1]} up" /sbin/ip link set dev ${IFNAME[$1]} up } |