mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
tr104: align with datamodel microservice
This commit is contained in:
parent
9926d0fa80
commit
c24a0ccd66
2 changed files with 5 additions and 13 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=tr104
|
PKG_NAME:=tr104
|
||||||
PKG_VERSION:=1.0.22
|
PKG_VERSION:=1.0.23
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifeq ($(LOCAL_DEV),0)
|
ifeq ($(LOCAL_DEV),0)
|
||||||
|
|
@ -72,14 +72,14 @@ define Package/$(PKG_NAME)/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
$(INSTALL_DIR) $(1)/etc/tr104/plugins/
|
$(INSTALL_DIR) $(1)/etc/tr104/plugins/
|
||||||
$(INSTALL_DIR) $(1)/etc/uci-defaults/
|
$(INSTALL_DIR) $(1)/etc/uci-defaults/
|
||||||
$(INSTALL_BIN) ./files/etc/tr104/input.json $(1)/etc/tr104/input.json
|
$(call BbfdmInstallPluginInMicroservice,$(1)/etc/tr104,$(PKG_BUILD_DIR)/libdm/tr104/libtr104.so)
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libdm/tr104/libtr104.so $(1)/etc/tr104/
|
|
||||||
ifeq ($(CONFIG_TR104_VENDOR_EXTENSIONS),y)
|
ifeq ($(CONFIG_TR104_VENDOR_EXTENSIONS),y)
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libdm/extensions/iowrt/libtr104ext.so $(1)/etc/tr104/plugins/
|
$(call BbfdmInstallPluginInMicroservice,$(1)/etc/tr104/plugins,$(PKG_BUILD_DIR)/libdm/extensions/iowrt/libtr104ext.so)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_TR104_RUNAS_BBFDM_MICROSERVICE),y)
|
ifeq ($(CONFIG_TR104_RUNAS_BBFDM_MICROSERVICE),y)
|
||||||
$(INSTALL_BIN) ./files/etc/uci-defaults/50_add_tr104_dm_microservice $(1)/etc/uci-defaults/
|
$(call BbfdmInstallMicroServiceInputFile,$(1),./files/etc/tr104/input.json)
|
||||||
else
|
else
|
||||||
|
$(INSTALL_BIN) ./files/etc/tr104/input.json $(1)/etc/tr104/input.json
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/ubus/tr104d $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/daemon/ubus/tr104d $(1)/usr/sbin/
|
||||||
$(INSTALL_BIN) ./files/etc/init.d/tr104d $(1)/etc/init.d/tr104d
|
$(INSTALL_BIN) ./files/etc/init.d/tr104d $(1)/etc/init.d/tr104d
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if ! uci -q get bbfdm.tr104 >/dev/null; then
|
|
||||||
uci set bbfdm.tr104=micro_service
|
|
||||||
uci set bbfdm.tr104.enable=1
|
|
||||||
uci set bbfdm.tr104.input_json="/etc/tr104/input.json"
|
|
||||||
uci set bbfdm.tr104.loglevel=1
|
|
||||||
fi
|
|
||||||
Loading…
Add table
Reference in a new issue