luci-app-chinadns & luci-app-appfilter: fix errors

This commit is contained in:
CN_SZTL 2019-07-26 01:59:17 +08:00
parent b079514eb1
commit 6a2e72a8e7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 7 additions and 14 deletions

View File

@ -9,15 +9,7 @@ LUCI_PKGARCH:=all
PKG_NAME:=luci-app-appfilter
PKG_VERSION:=1.0
PKG_RELEASE:=1
define Package/$(PKG_NAME)
SECTION:=luci
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LuCI Support for oaf
PKGARCH:=all
DEPENDS:=+oaf +appfilter
endef
LUCI_DEPENDS:=+kmod-oaf +appfilter
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot signature

View File

@ -1,8 +1,8 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@ChinaDNS[-1]
add ucitrack ChinaDNS
set ucitrack.@ChinaDNS[-1].init=ChinaDNS
delete ucitrack.@chinands[-1]
add ucitrack chinadns
set ucitrack.@chinadns[-1].init=chinadns
commit ucitrack
EOF
exit 0

View File

@ -10,8 +10,9 @@ include $(INCLUDE_DIR)/package.mk
PKG_AUTOLOAD:=oaf
define KernelPackage/oaf
SECTION:=net
CATEGORY:=Network
SECTION:=Kernel
CATEGORY:=Kernel modules
SUBMENU:=Netfilter Extensions
TITLE:=open app filter kernel module
FILES:=$(PKG_BUILD_DIR)/oaf.ko
KCONFIG:=