diff --git a/ponmngr/Makefile b/ponmngr/Makefile index e79e71ffb..4b751d594 100644 --- a/ponmngr/Makefile +++ b/ponmngr/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ponmngr -PKG_VERSION:=1.0.2 +PKG_VERSION:=1.0.3 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_LICENSE:=GPL-2.0-only @@ -39,6 +39,7 @@ ifneq ($(CONFIG_TARGET_brcmbca),) else ifneq ($(CONFIG_TARGET_airoha),) $(CP) ./files/airoha/* $(1)/ endif + $(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) ./files/etc/ponmngr/xpon.json $(1) $(PKG_NAME) endef diff --git a/ponmngr/bbfdm_service.json b/ponmngr/bbfdm_service.json new file mode 100644 index 000000000..7c795cc51 --- /dev/null +++ b/ponmngr/bbfdm_service.json @@ -0,0 +1,16 @@ +{ + "daemon": { + "enable": "1", + "service_name": "ponmngr", + "unified_daemon": false, + "services": [ + { + "parent_dm": "Device.", + "object": "XPON" + } + ], + "config": { + "loglevel": "3" + } + } +}