#!/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