dectmngr: Do not restart dectmngr on dect config change

This commit is contained in:
Grzegorz Sluja 2021-11-26 12:37:49 +01:00
parent 22871d2410
commit d2dda88aad
2 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=3fbe957f21fc102a950d00f169923207d062a353
PKG_SOURCE_VERSION:=b631ebdafd7d094e3f79e22e81b94caa5bd91b78
PKG_MIRROR_HASH:=skip
endif

View file

@ -66,13 +66,13 @@ stop_service() {
}
reload_service() {
stop_and_wait_dectmngr
start
ubus call dect reload
}
service_triggers()
{
procd_add_reload_trigger asterisk dect
procd_add_config_trigger "config.change" "asterisk" /etc/init.d/dectmngr restart
procd_add_config_trigger "config.change" "dect" /etc/init.d/dectmngr reload
}
boot() {