From c0cb2c43bf067d4ee8ad4dbdac3ac6d4a949db04 Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 26 Oct 2024 11:55:18 +0300 Subject: [PATCH] blockcheck: do not require pktws if SKIP_PKTWS=1 and tpws if SKIP_TPWS=1 --- blockcheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index eb91336..a79844a 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -360,7 +360,7 @@ zp_already_running() } check_already() { - echo \* checking already running zapret processes + echo \* checking already running DPI bypass processes if zp_already_running; then echo "!!! WARNING. some dpi bypass processes already running !!!" echo "!!! WARNING. blockcheck requires all DPI bypass methods disabled !!!" @@ -387,7 +387,7 @@ check_prerequisites() { echo \* checking prerequisites - [ "$UNAME" = Darwin -o -x "$PKTWS" ] && [ "$UNAME" = CYGWIN -o -x "$TPWS" ] && [ -x "$MDIG" ] || { + [ "$SKIP_PKTWS" = 1 -o "$UNAME" = Darwin -o -x "$PKTWS" ] && [ "$SKIP_TPWS" = 1 -o "$UNAME" = CYGWIN -o -x "$TPWS" ] && [ -x "$MDIG" ] || { local target case $UNAME in Darwin)