sourceipk: use ar to package ipk instead of tar
[openembedded.git] / contrib / qemu / qemu-ifdown
blob204f29864c4690c96bcf305854d09c344ce86a75
1 #!/bin/sh
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