Sign in
kernel
/
pub
/
scm
/
virt
/
qemu
/
amit
/
virtio-rng
/
refs/heads/stable-0.15
/
.
/
kvm
/
scripts
/
qemu-ifup
blob: 284b176c19d6f6d768696c72f1fe9b1cdee834e8 [
file
] [
log
] [
blame
]
#!/bin/sh
switch
=
$
(/
sbin
/
ip route list
|
awk
'/^default / { print $5 }'
)
/
sbin
/
ifconfig $1
0.0
.
0.0
up
/
usr
/
sbin
/
brctl addif $
{
switch
}
$1