diff --git a/hostmngr/Makefile b/hostmngr/Makefile index d37b6cd3c..1afe2e503 100644 --- a/hostmngr/Makefile +++ b/hostmngr/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostmngr -PKG_VERSION:=1.2.11 +PKG_VERSION:=1.2.12 LOCAL_DEV=0 ifneq ($(LOCAL_DEV),1) @@ -24,6 +24,7 @@ PKG_LICENSE_FILES:=LICENSE include $(INCLUDE_DIR)/package.mk include $(TOPDIR)/feeds/iopsys/bbfdm/bbfdm.mk + define Package/hostmngr SECTION:=utils CATEGORY:=Utilities @@ -62,6 +63,8 @@ define Package/hostmngr/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/hostmngr $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/share/hostmngr $(INSTALL_DATA) ./files/scripts/hosts_acl.sh $(1)/usr/share/hostmngr/ + + $(BBFDM_REGISTER_SERVICES) ./bbfdm_service.json $(1) $(PKG_NAME) $(BBFDM_INSTALL_MS_DM) $(PKG_BUILD_DIR)/src/bbf_plugin/libhostmngr.so $(1) $(PKG_NAME) endef diff --git a/hostmngr/bbfdm_service.json b/hostmngr/bbfdm_service.json new file mode 100644 index 000000000..d8160ef09 --- /dev/null +++ b/hostmngr/bbfdm_service.json @@ -0,0 +1,16 @@ +{ + "daemon": { + "enable": "1", + "service_name": "hostmngr", + "unified_daemon": false, + "services": [ + { + "parent_dm": "Device.", + "object": "Hosts" + } + ], + "config": { + "loglevel": "3" + } + } +}