kvm: qemu: remove redundant memory access update for cirrus sr7 udpate
[kvm-userspace.git] / scripts / qemu-ifup
blob3bf8801b735cb64e3fd9246954abb6ec18e26897
1 #!/bin/sh
3 switch=$(/sbin/ip route list | awk '/^default / { print $NF }')
4 /sbin/ifconfig $1 0.0.0.0 up
5 /usr/sbin/brctl addif ${switch} $1