diff --git a/luci-app-oaf/Makefile b/luci-app-oaf/Makefile index f5ed5fb..764ec74 100755 --- a/luci-app-oaf/Makefile +++ b/luci-app-oaf/Makefile @@ -9,7 +9,7 @@ LUCI_TITLE:=Open App Filter Module LUCI_PKGARCH:=all LUCI_DEPENDS:=+kmod-oaf +appfilter PKG_NAME:=luci-app-oaf -PKG_VERSION:=3.0 +PKG_VERSION:=5.0 PKG_RELEASE:=1 include $(TOPDIR)/feeds/luci/luci.mk # call BuildPackage - OpenWrt buildroot signature diff --git a/oaf/Makefile b/oaf/Makefile index 43befca..7b6fc45 100755 --- a/oaf/Makefile +++ b/oaf/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=oaf -PKG_VERSION:=3.0 +PKG_VERSION:=5.0 PKG_RELEASE:=1 include $(INCLUDE_DIR)/package.mk diff --git a/open-app-filter/files/appfilter.init b/open-app-filter/files/appfilter.init index 4c31f5e..38d6f06 100755 --- a/open-app-filter/files/appfilter.init +++ b/open-app-filter/files/appfilter.init @@ -12,12 +12,13 @@ service_triggers() } stop_service(){ - killall -9 $OAFD_BIN + killall -9 oafd } start_service(){ gen_class.sh /etc/appfilter/feature.cfg insmod oaf + /usr/bin/oaf_rule reload procd_open_instance procd_set_param respawn 60 5 5 procd_set_param stderr 1