Browse Source

blockcheck: do not require pktws if SKIP_PKTWS=1 and tpws if SKIP_TPWS=1

pull/666/head
bol-van 7 months ago
parent
commit
d59c77a899
  1. 4
      blockcheck.sh

4
blockcheck.sh

@ -360,7 +360,7 @@ zp_already_running()
} }
check_already() check_already()
{ {
echo \* checking already running zapret processes echo \* checking already running DPI bypass processes
if zp_already_running; then if zp_already_running; then
echo "!!! WARNING. some dpi bypass processes already running !!!" echo "!!! WARNING. some dpi bypass processes already running !!!"
echo "!!! WARNING. blockcheck requires all DPI bypass methods disabled !!!" echo "!!! WARNING. blockcheck requires all DPI bypass methods disabled !!!"
@ -387,7 +387,7 @@ check_prerequisites()
{ {
echo \* checking 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 local target
case $UNAME in case $UNAME in
Darwin) Darwin)

Loading…
Cancel
Save