Update package: dectmngr

Add more UBUS methods
This commit is contained in:
Yalu Zhang 2021-06-01 17:02:58 +02:00
parent ae15ae5dd7
commit 64d79c39bc
2 changed files with 3 additions and 1 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:=2a02f868fcc247e49add49d3fd61cf8e58434885
PKG_SOURCE_VERSION:=4236c8dab2247d613553fbc4c6a696e2992a9be1
PKG_MIRROR_HASH:=skip
endif

View file

@ -9,6 +9,7 @@ USE_PROCD=1
NAME=dectmngr
PROG=/usr/sbin/dectmngr
LOG_PATH=/var/log/dectmngr
DB_PATH=/etc/dect
# Ask dectmngr to exit nicely and wait for it to clean up, which is a slow process.
stop_and_wait_dectmngr() {
@ -61,6 +62,7 @@ boot() {
echo out > /sys/class/gpio/gpio14/direction
[ ! -d $LOG_PATH ] && mkdir -p $LOG_PATH
[ ! -d $DB_PATH ] && mkdir -p $DB_PATH
start
}