repo.or.cz
/
anytun.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
svn cleanup
[anytun.git]
/
openvpn
/
sample-scripts
/
bridge-stop
blob
d45289372a439a792ff9edf554c15ccf5cdd21f2
1
#!/bin/bash
2
3
####################################
4
# Tear Down Ethernet bridge on Linux
5
####################################
6
7
# Define Bridge Interface
8
br
=
"br0"
9
10
# Define list of TAP interfaces to be bridged together
11
tap
=
"tap0"
12
13
ifconfig
$br
down
14
brctl delbr
$br
15
16
for
t
in
$tap
;
do
17
openvpn
--rmtun --dev
$t
18
done