repo.or.cz
/
kvm-userspace.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kvm: libkvm: don't install anything
[kvm-userspace.git]
/
scripts
/
qemu-ifup
blob
3bf8801b735cb64e3fd9246954abb6ec18e26897
1
#!/bin/sh
2
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