Correct PPTP server firewall rules chain.
[tomato/davidwu.git] / release / src / router / bridge / tests / rmbr
blob8d1dc302de2a1e6f23850131b1ed56e3d649ca24
1 #! /bin/sh
2 BR=${1:-"br549"}
4 # fetch ip of working br0
5 IP=`/sbin/ifconfig $BR | sed -n -e 's/^.*inet addr:\([0-9][0-9\.]*\).*$/\1/p'`
6 echo "Using IP address $IP"
8 ifconfig $BR down
9 brctl delbr $BR
10 ifconfig eth0 172.20.5.22
11 rmmod bridge