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, 8 months ago) by misho
Branches: elwix1_5
Diff to: branchpoint 1.1.1.1: preferred, colored
minor fix

#!/bin/sh

IFACE="bridge0"

BRIDGED="fxp0 rl0 wlan0"
STP="fxp0 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 inet $IP up

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>