Reload configuration at boot, modify app version to 5.0.1
This commit is contained in:
parent
e1b21d21e7
commit
e73beb8c97
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user