mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-28 01:47:19 +01:00
Add new notification feature & delete icwmp_notifd
(cherry picked from commit 37865ab486)
This commit is contained in:
parent
f622a96054
commit
11550d140a
2 changed files with 3 additions and 21 deletions
|
|
@ -40,14 +40,6 @@ define Package/icwmp-tr098
|
|||
DEPENDS:=+PACKAGE_icwmp-tr098:libuci +PACKAGE_icwmp-tr098:libmicroxml +PACKAGE_icwmp-tr098:libubox +PACKAGE_icwmp-tr098:jshn +PACKAGE_icwmp-tr098:libubus +PACKAGE_icwmp-tr098:libblobmsg-json +PACKAGE_icwmp-tr098:libpthread +PACKAGE_icwmp-tr098:ubusd +PACKAGE_icwmp-tr098:shflags +PACKAGE_icwmp-tr098:getopt +PACKAGE_icwmp-tr098:zlib +PACKAGE_icwmp-tr098:libjson-c +PACKAGE_icwmp-tr098:libopenssl +PACKAGE_icwmp-tr098:curl +PACKAGE_icwmp-tr098:libcurl +PACKAGE_icwmp-tr098:libtr098
|
||||
endef
|
||||
|
||||
define Package/icwmp-notifd
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
SUBMENU:=TRx69
|
||||
TITLE:=CWMP Active Notifications Detect tool
|
||||
DEPENDS:=+libubox +libuci +libbbfdm +libjson-c +libubus +libblobmsg-json
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
|
|
@ -79,11 +71,6 @@ CONFIGURE_ARGS += \
|
|||
--enable-icwmp_tr098
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PACKAGE_icwmp-notifd),y)
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-icwmp_notifd
|
||||
endif
|
||||
|
||||
ifneq ($(CWMP_REVISION)_,_)
|
||||
ifneq ($(CWMP_REVISION),exported)
|
||||
ifneq ($(CWMP_REVISION),Unversioned directory)
|
||||
|
|
@ -140,11 +127,6 @@ define Package/icwmp-tr098/install
|
|||
$(CP) $(PKG_BUILD_DIR)/bin/icwmp_tr098d $(1)/usr/sbin
|
||||
endef
|
||||
|
||||
define Package/icwmp-notifd/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/icwmp_notifd $(1)/usr/sbin/icwmp_notifd
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/postinst
|
||||
#!/bin/sh
|
||||
if [ -z "$${IPKG_INSTROOT}" ]; then
|
||||
|
|
@ -164,5 +146,4 @@ define Package/$(PKG_NAME)/prerm
|
|||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
$(eval $(call BuildPackage,icwmp-tr098))
|
||||
$(eval $(call BuildPackage,icwmp-notifd))
|
||||
$(eval $(call BuildPackage,icwmp-tr098))
|
||||
|
|
@ -38,7 +38,8 @@ config cpe 'cpe'
|
|||
option notification '1'
|
||||
option datamodel 'tr181'
|
||||
option exec_download '0'
|
||||
option polling_period '5'
|
||||
option notify_periodic_enable '1'
|
||||
option notify_period '10'
|
||||
|
||||
config lwn 'lwn'
|
||||
option enable '1'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue