[packages] multiwan: Updated failover removal
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21176 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8080b37bb7
commit
35645e1be4
@ -8,8 +8,8 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=multiwan
|
||||
PKG_VERSION:=1.0l
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=1.0m
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -40,11 +40,7 @@ fi
|
||||
|
||||
del() {
|
||||
if [ "$existing_failover" == "3" ]; then
|
||||
if [ "$failover_to" != "balancer" -a "failover_to" != "disable" -a "$failover_to_wanid" != "$wanid" ]; then
|
||||
iptables -D FW${wanid}MARK -t mangle -j FW${failover_to_wanid}MARK
|
||||
elif [ "$failover_to" == "balancer" ]; then
|
||||
iptables -D FW${wanid}MARK -t mangle -j LoadBalancer
|
||||
fi
|
||||
iptables -D FW${wanid}MARK 2 -t mangle
|
||||
fi
|
||||
mwnote "$1 has recovered and is back online!"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user