Annotation of elwix/config/etc/uboot/rc.d/015.bridge.stop, revision 1.2
1.2 ! misho 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
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>