Return to 015.bridge.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / rc.d |
version 1.1, 2011/07/05 23:43:00 | version 1.2, 2011/11/02 09:51:32 |
---|---|
Line 2 | Line 2 |
IFACE="bridge0" | IFACE="bridge0" |
BRIDGED="fxp0 rl0 wlan0 wlan1" | BRIDGED="fxp0 rl0 wlan0" |
STP="fxp rl0" | STP="fxp0 rl0" |
IP="" | |
echo "Config Bridge interface $IFACE ..." | echo "Config Bridge interface $IFACE ..." |
ifconfig $IFACE create | ifconfig $IFACE create |
for i in $BRIDGED; do | for i in $BRIDGED; do |
ifconfig $IFACE addm $i | ifconfig $IFACE addm $i |
done | done |
for i in $STP; do | for i in $STP; do |
ifconfig $IFACE stp $i | ifconfig $IFACE stp $i |
done | done |
ifconfig $IFACE up | |
ifconfig $IFACE inet $IP up |