diff --git a/icwmp/Makefile b/icwmp/Makefile index f21c54e91..1d01369ec 100755 --- a/icwmp/Makefile +++ b/icwmp/Makefile @@ -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)) \ No newline at end of file diff --git a/icwmp/files/etc/config/cwmp b/icwmp/files/etc/config/cwmp index 9ae47c241..4fede25f4 100644 --- a/icwmp/files/etc/config/cwmp +++ b/icwmp/files/etc/config/cwmp @@ -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'