Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 81e360cf0d1d39b2f9cc53f21854cdd1 > files > 87

openvpn-2.3.2-4.fc18.i686.rpm

#!/bin/sh

####################################
# Tear Down Ethernet bridge on Linux
####################################

# Define Bridge Interface
br="br0"

# Define list of TAP interfaces to be bridged together
tap="tap0"

ifconfig $br down
brctl delbr $br

for t in $tap; do
    openvpn --rmtun --dev $t
done