dslmngr: align with bbfdm microservices

This commit is contained in:
Vivek Kumar Dutta 2024-03-13 11:14:55 +05:30
parent b946c2842a
commit c06016bc5b
3 changed files with 4 additions and 5 deletions

View file

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=dslmngr
PKG_VERSION:=1.2.2
PKG_VERSION:=1.2.3
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)

View file

@ -1,14 +1,15 @@
{
"daemon": {
"config": {
"loglevel": "1"
},
"input": {
"type": "DotSo",
"name": "/etc/dsl/libbbfdsl.so"
},
"output": {
"type": "UBUS",
"name": "bbfdm.DSL.",
"parent_dm": "Device.",
"object": "DSL",
"root_obj": "bbfdm",
"multiple_objects": ["DSL","PTM","ATM","FAST"]
}

View file

@ -2,7 +2,6 @@
. /lib/functions.sh
include /lib/dsl
. /etc/bbfdm/bbfdm_services.sh
START=20
USE_PROCD=1
@ -10,7 +9,6 @@ USE_PROCD=1
DSLMNGR=$(which dslmngr)
start_service() {
bbfdm_add_service "bbfdm.DSL" "/etc/dsl/input.json"
[ -n "$DSLMNGR" ] && {
procd_open_instance
procd_set_param command "$DSLMNGR"