diff --git a/uspd/Makefile b/uspd/Makefile index be4f641b9..8b7f00fd6 100644 --- a/uspd/Makefile +++ b/uspd/Makefile @@ -5,12 +5,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uspd -PKG_VERSION:=2.1.26 +PKG_VERSION:=2.1.27 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) PKG_SOURCE_PROTO:=git -PKG_SOURCE_VERSION:=b4904994739a4d1e37d7ee882969370760f46464 +PKG_SOURCE_VERSION:=83f8fac0209bd0556eeda0c04302114cddf380e9 PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/uspd.git PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_HASH:=skip diff --git a/uspd/files/uspd.init b/uspd/files/uspd.init index 748fe2086..200aeecaf 100644 --- a/uspd/files/uspd.init +++ b/uspd/files/uspd.init @@ -1,11 +1,15 @@ #!/bin/sh /etc/rc.common -START=98 +START=96 STOP=10 USE_PROCD=1 PROG=/usr/sbin/uspd +log() { + echo "${@}"|logger -t uspd.init -p debug +} + validate_uspd_usp_section() { uci_validate_section uspd uspd "usp" \ @@ -45,6 +49,7 @@ configure_uspd() } start_service() { + log "Starting uspd" procd_open_instance usp procd_set_param command ${PROG} configure_uspd @@ -59,5 +64,5 @@ reload_service() { service_triggers() { - procd_add_config_trigger "config.change" "uspd" /etc/init.d/uspd restart + procd_add_reload_trigger "uspd" }