From 3237e07a99e665d5aa7b5c83cda4633dbf84c939 Mon Sep 17 00:00:00 2001 From: MoetaYuko Date: Tue, 27 Feb 2024 10:47:57 +0800 Subject: [PATCH] luci: make the menu depend on the package itself --- luci-app-passwall/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 4ff6e386d..fe716fde2 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -38,6 +38,7 @@ LUCI_DEPENDS:=+coreutils +coreutils-base64 +coreutils-nohup +curl \ define Package/$(PKG_NAME)/config menu "Configuration" + depends on PACKAGE_$(PKG_NAME) config PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy bool "Iptables Transparent Proxy" @@ -51,7 +52,6 @@ config PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy select PACKAGE_iptables-mod-socket select PACKAGE_iptables-mod-tproxy select PACKAGE_kmod-ipt-nat - depends on PACKAGE_$(PKG_NAME) default y if ! PACKAGE_firewall4 config PACKAGE_$(PKG_NAME)_Nftables_Transparent_Proxy @@ -62,7 +62,6 @@ config PACKAGE_$(PKG_NAME)_Nftables_Transparent_Proxy select PACKAGE_kmod-nft-socket select PACKAGE_kmod-nft-tproxy select PACKAGE_kmod-nft-nat - depends on PACKAGE_$(PKG_NAME) default y if PACKAGE_firewall4 config PACKAGE_$(PKG_NAME)_INCLUDE_Haproxy