Signed-off-by: Stan Grishin <stangri@melmac.net>
PKG_NAME:=addrwatch
PKG_VERSION:=0.8
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-master.tar.gz
PKG_SOURCE_URL:=https://github.com/fln/addrwatch/releases/download/$(PKG_VERSION)/
START=50
USE_PROCD=1
-. /lib/functions/network.sh
-
validate_section_addrwatch() {
uci_validate_section addrwatch addrwatch "${1}" \
'disabled:bool:0' \
}
start_service() {
+ . /lib/functions/network.sh
config_load 'addrwatch'
config_foreach start_instance 'addrwatch'
}