3 # NOTE: This script is intended to run in conjunction with qemu-ifup
4 # which uses the same logic to find your bridge/switch
6 switch
=$
(/sbin
/ip route list |
awk '/^default / { print $5 }')
8 sudo
/usr
/sbin
/brctl delif
$switch $1
9 sudo
/sbin
/ifconfig
$1 0.0.0.0 down