[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:
florian
2012-09-19 15:09:29 +00:00
parent 223ef02a46
commit b7fd9fe387
2 changed files with 2 additions and 2 deletions

View File

@ -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 ##"
}