Skip to content

Commit

Permalink
added new.sh script to keep qemu happy
Browse files Browse the repository at this point in the history
  • Loading branch information
blanham committed Apr 29, 2012
1 parent efe60b1 commit 6f73ad3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/new.sh
@@ -0,0 +1,12 @@
#!/bin/sh

echo sudo tunctl -u $(id -un) -t $1
sudo tunctl -u $(id -un) -t $1

echo sudo ifconfig $1 0.0.0.0 promisc up
sudo ifconfig $1 0.0.0.0 promisc up

echo sudo brctl addif br0 $1
sudo brctl addif br0 $1

echo brctl show

0 comments on commit 6f73ad3

Please sign in to comment.