mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-27 12:50:35 +03:00
makefile: Disable TPWS in blockcheck
This commit is contained in:
@@ -116,6 +116,8 @@ define Package/$(PKG_NAME)/install
|
|||||||
chmod 755 $(1)/opt/zapret/$(MAKE_PATH)/*
|
chmod 755 $(1)/opt/zapret/$(MAKE_PATH)/*
|
||||||
chmod 755 $(1)/opt/zapret/ip2net/*
|
chmod 755 $(1)/opt/zapret/ip2net/*
|
||||||
chmod 755 $(1)/opt/zapret/mdig/*
|
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
|
endef
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/preinst
|
define Package/$(PKG_NAME)/preinst
|
||||||
|
|||||||
Reference in New Issue
Block a user