[package] multiwan: fix health monitoring
he extra space makes the ${health_monitor%.* } as "parallel.started", so it won't match "parallel". This causes monitor_wan never starts. Signed-off-by: York Sun <york.sun@me.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@33471 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
223ef02a46
commit
b7fd9fe387
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=multiwan
|
PKG_NAME:=multiwan
|
||||||
PKG_VERSION:=1.0.22
|
PKG_VERSION:=1.0.22
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -967,7 +967,7 @@ do_tasks() {
|
|||||||
pass) recover_wan $1;;
|
pass) recover_wan $1;;
|
||||||
acquire)
|
acquire)
|
||||||
acquire_wan_data $1
|
acquire_wan_data $1
|
||||||
[ "${health_monitor%.* }" = 'parallel' ] && {
|
[ "${health_monitor%.*}" = 'parallel' ] && {
|
||||||
monitor_wan $1 &
|
monitor_wan $1 &
|
||||||
echo "## Started background monitor_wan ##"
|
echo "## Started background monitor_wan ##"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user