From a7bb4ce0a997969d8128a39c3a4d78a17765b6f4 Mon Sep 17 00:00:00 2001 From: craigc Date: Mon, 3 May 2010 15:40:47 +0000 Subject: [PATCH] [packages] multiwan: updated revision, updated cache loading on health_monitor git-svn-id: svn://svn.openwrt.org/openwrt/packages@21343 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/multiwan/Makefile | 2 +- net/multiwan/files/usr/bin/multiwan | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/net/multiwan/Makefile b/net/multiwan/Makefile index d0c5239a5..013f2f9eb 100644 --- a/net/multiwan/Makefile +++ b/net/multiwan/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=multiwan -PKG_VERSION:=1.0.3 +PKG_VERSION:=1.0.4 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/net/multiwan/files/usr/bin/multiwan b/net/multiwan/files/usr/bin/multiwan index ec78996a4..410801353 100755 --- a/net/multiwan/files/usr/bin/multiwan +++ b/net/multiwan/files/usr/bin/multiwan @@ -829,6 +829,8 @@ local check_test local health_interval local check_for_job +. /tmp/.mwan/cache + timeout=`uci -q -P /var/state get multiwan.${1}.timeout` icmp_hosts=`uci -q -P /var/state get multiwan.${1}.icmp_hosts` health_interval=`uci -q -P /var/state get multiwan.${1}.health_interval`