From 0edcc6c4a022af225f3de8a0c7a3069271eb2127 Mon Sep 17 00:00:00 2001 From: remittor Date: Mon, 12 Jan 2026 13:27:53 +0300 Subject: [PATCH] makefile: Disable TPWS in blockcheck --- zapret/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zapret/Makefile b/zapret/Makefile index 2e5b0ce..30b517a 100644 --- a/zapret/Makefile +++ b/zapret/Makefile @@ -116,6 +116,8 @@ define Package/$(PKG_NAME)/install chmod 755 $(1)/opt/zapret/$(MAKE_PATH)/* chmod 755 $(1)/opt/zapret/ip2net/* chmod 755 $(1)/opt/zapret/mdig/* + # Disable TPWS in blockcheck + grep -q '^SKIP_TPWS=' $(1)/opt/zapret/blockcheck.sh || sed -i '/^NFT_TABLE=blockcheck$$$$/a SKIP_TPWS=$$$${SKIP_TPWS:-1}' $(1)/opt/zapret/blockcheck.sh endef define Package/$(PKG_NAME)/preinst