a guest Feb 8th, 2016 326 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- if [ -n "$(ip addr | grep vmtap0)" ];
- echo Downing vmtap0 link...
- # Down vmtap0
- ip link set vmtap0 down
- sleep 0.5s
- if [ -n "$(brctl show br0 | grep vmtap0)" ];
- # Remove from br0
- echo Removing vmtap0 from bridge...
- brctl delif br0 vmtap0
RAW Paste Data