repo.or.cz
/
linux-2.6
/
next.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kvm tools, setup: Create private directory
[linux-2.6/next.git]
/
tools
/
kvm
/
util
/
kvm-ifup-vbr0
blob
a91c37f7ee004565cded5f0396486a7a6ecdcb49
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