#! /bin/sh _ETHER=trunk0 _BRIDGE=bridge0 # Let the environment over-ride this [ "$BRIDGE" ] || BRIDGE=${_BRIDGE} [ "$ETHER" ] || ETHER=${_ETHER} if test `id -u` -ne 0; then DOAS=doas fi $DOAS ifconfig $BRIDGE del $1 > /dev/null 2>&1