From b7fd9fe387c85a6e442d4d6e3bf1b578b289ad03 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 19 Sep 2012 15:09:29 +0000 Subject: [PATCH] [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 git-svn-id: svn://svn.openwrt.org/openwrt/packages@33471 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/multiwan/Makefile | 2 +- net/multiwan/files/usr/bin/multiwan | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/multiwan/Makefile b/net/multiwan/Makefile index 95faa1232..f5161cce6 100644 --- a/net/multiwan/Makefile +++ b/net/multiwan/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=multiwan PKG_VERSION:=1.0.22 -PKG_RELEASE:=1 +PKG_RELEASE:=2 include $(INCLUDE_DIR)/package.mk diff --git a/net/multiwan/files/usr/bin/multiwan b/net/multiwan/files/usr/bin/multiwan index ebec4a9eb..34cfa54f3 100755 --- a/net/multiwan/files/usr/bin/multiwan +++ b/net/multiwan/files/usr/bin/multiwan @@ -967,7 +967,7 @@ do_tasks() { pass) recover_wan $1;; acquire) acquire_wan_data $1 - [ "${health_monitor%.* }" = 'parallel' ] && { + [ "${health_monitor%.*}" = 'parallel' ] && { monitor_wan $1 & echo "## Started background monitor_wan ##" }