openbsd-ports/emulators/qemu/files/qemu-ifdown
todd 2feda3c1f5 o update to 0.9.1, lots from brad@
o see http://qemu.org/changelog.html for details
o see README.OpenBSD for an intro to qemu on OpenBSD
o disable broken arm host support for now
2008-04-28 22:52:38 +00:00

15 lines
236 B
Bash

#! /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
SUDO=sudo
fi
$SUDO brconfig $brif del $1 > /dev/null 2>&1