mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
ponmngr: align with bbfdm
This commit is contained in:
parent
551033461a
commit
090795699d
2 changed files with 18 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=ponmngr
|
PKG_NAME:=ponmngr
|
||||||
PKG_VERSION:=1.0.2
|
PKG_VERSION:=1.0.3
|
||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_LICENSE:=GPL-2.0-only
|
PKG_LICENSE:=GPL-2.0-only
|
||||||
|
|
@ -39,6 +39,7 @@ ifneq ($(CONFIG_TARGET_brcmbca),)
|
||||||
else ifneq ($(CONFIG_TARGET_airoha),)
|
else ifneq ($(CONFIG_TARGET_airoha),)
|
||||||
$(CP) ./files/airoha/* $(1)/
|
$(CP) ./files/airoha/* $(1)/
|
||||||
endif
|
endif
|
||||||
|
$(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME)
|
||||||
$(BBFDM_INSTALL_MS_DM) ./files/etc/ponmngr/xpon.json $(1) $(PKG_NAME)
|
$(BBFDM_INSTALL_MS_DM) ./files/etc/ponmngr/xpon.json $(1) $(PKG_NAME)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
|
||||||
16
ponmngr/bbfdm_service.json
Normal file
16
ponmngr/bbfdm_service.json
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"daemon": {
|
||||||
|
"enable": "1",
|
||||||
|
"service_name": "ponmngr",
|
||||||
|
"unified_daemon": false,
|
||||||
|
"services": [
|
||||||
|
{
|
||||||
|
"parent_dm": "Device.",
|
||||||
|
"object": "XPON"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"config": {
|
||||||
|
"loglevel": "3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue