File:  [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default / rc.d / 015.bridge.stop
Revision 1.1.1.1.4.2: download - view: text, annotated - select for diffs - revision graph
Tue Oct 25 21:13:22 2011 UTC (12 years, 9 months ago) by misho
Branches: elwix1_5
Diff to: branchpoint 1.1.1.1: preferred, unified
minor fix

    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>