summaryrefslogtreecommitdiffstats
path: root/rc.inet1
diff options
context:
space:
mode:
Diffstat (limited to 'rc.inet1')
-rw-r--r--rc.inet16
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.inet1 b/rc.inet1
index 9e2ca2b..5e31c08 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -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
}