kvm tools, setup: Create private directory
[linux-2.6/next.git] / tools / kvm / util / kvm-ifup-vbr0
bloba91c37f7ee004565cded5f0396486a7a6ecdcb49
1 #!/bin/sh
2 switch=vbr0
3 /sbin/ifconfig $1 0.0.0.0 up
4 /usr/sbin/brctl addif ${switch} $1
5 /usr/sbin/brctl setfd ${switch} 0
6 /usr/sbin/brctl stp ${switch} off