addrwatch: fix complaint when adding addrwatch with image builder
Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
parent
52481f493d
commit
f38c3c1749
2 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
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)/
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
START=50
|
||||
USE_PROCD=1
|
||||
|
||||
. /lib/functions/network.sh
|
||||
|
||||
validate_section_addrwatch() {
|
||||
uci_validate_section addrwatch addrwatch "${1}" \
|
||||
'disabled:bool:0' \
|
||||
|
@ -65,6 +63,7 @@ start_instance() {
|
|||
}
|
||||
|
||||
start_service() {
|
||||
. /lib/functions/network.sh
|
||||
config_load 'addrwatch'
|
||||
config_foreach start_instance 'addrwatch'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue