Sign in
nest-open-source
/
manifest_repos
/
bridge-utils
/
303a9979fb93489ad58348e393c87436312106c2
/
.
/
tests
/
rmbr
blob: 8d1dc302de2a1e6f23850131b1ed56e3d649ca24 [
file
] [
log
] [
blame
]
#! /bin/sh
BR
=
$
{
1
:-
"br549"
}
# fetch ip of working br0
IP
=
`/sbin/ifconfig $BR | sed -n -e 's/^.*inet addr:\([0-9][0-9\.]*\).*$/\1/p'`
echo
"Using IP address $IP"
ifconfig $BR down
brctl delbr $BR
ifconfig eth0
172.20
.
5.22
rmmod bridge