diff --git a/periodicstats/Makefile b/periodicstats/Makefile index b92f1c986..c3eb2f484 100644 --- a/periodicstats/Makefile +++ b/periodicstats/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=periodicstats -PKG_VERSION:=1.5.13 +PKG_VERSION:=1.5.14 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) @@ -50,6 +50,7 @@ define Package/periodicstats/install $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/periodicstatsd $(1)/usr/sbin + $(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/bbf_plugin/libperiodicstats.so $(1) $(PKG_NAME) endef diff --git a/periodicstats/bbfdm_service.json b/periodicstats/bbfdm_service.json new file mode 100644 index 000000000..99023aafd --- /dev/null +++ b/periodicstats/bbfdm_service.json @@ -0,0 +1,16 @@ +{ + "daemon": { + "enable": "1", + "service_name": "periodicstats", + "unified_daemon": false, + "services": [ + { + "parent_dm": "Device.", + "object": "PeriodicStatistics" + } + ], + "config": { + "loglevel": "3" + } + } +}