Return to 015.bridge.stop CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / uboot / rc.d |
elwix 2.2
1: #!/bin/sh 2: 3: IFACE="bridge0" 4: 5: BRIDGED="fxp0 rl0 wlan0" 6: STP="fxp0 rl0" 7: 8: IP="" 9: 10: echo "Config Bridge interface $IFACE ..." 11: 12: ifconfig $IFACE create 13: 14: for i in $BRIDGED; do 15: ifconfig $IFACE addm $i 16: done 17: for i in $STP; do 18: ifconfig $IFACE stp $i 19: done 20: 21: ifconfig $IFACE inet $IP up