--- elwix/config/etc/default/rc.d/015.bridge.stop 2011/07/05 23:43:00 1.1.1.1 +++ elwix/config/etc/default/rc.d/015.bridge.stop 2011/10/25 13:51:07 1.1.1.1.4.1 @@ -5,13 +5,17 @@ IFACE="bridge0" BRIDGED="fxp0 rl0 wlan0 wlan1" STP="fxp rl0" +IP="" + echo "Config Bridge interface $IFACE ..." ifconfig $IFACE create + for i in $BRIDGED; do ifconfig $IFACE addm $i done for i in $STP; do ifconfig $IFACE stp $i done -ifconfig $IFACE up + +ifconfig $IFACE inet $IP up