Browse files

added new.sh script to keep qemu happy

  • Loading branch information...
1 parent efe60b1 commit 6f73ad39241a00da97a83c57dc2780b2825c94a2 @blanham committed Apr 28, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/new.sh
View
12 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.