mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-15 11:32:58 +03:00
blockcheck: test tpws exists
This commit is contained in:
parent
ad5c246629
commit
2fb93c6add
@ -361,11 +361,13 @@ check_system()
|
|||||||
Linux)
|
Linux)
|
||||||
PKTWS="$NFQWS"
|
PKTWS="$NFQWS"
|
||||||
PKTWSD=nfqws
|
PKTWSD=nfqws
|
||||||
if tpws_can_fix_seg ; then
|
if [ -x "$TPWS" ] ; then
|
||||||
echo tpws supports --fix-seg on this system
|
if tpws_can_fix_seg ; then
|
||||||
FIX_SEG='--fix-seg'
|
echo tpws supports --fix-seg on this system
|
||||||
else
|
FIX_SEG='--fix-seg'
|
||||||
echo tpws does not support --fix-seg on this system
|
else
|
||||||
|
echo tpws does not support --fix-seg on this system
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
linux_fwtype
|
linux_fwtype
|
||||||
[ "$FWTYPE" = iptables -o "$FWTYPE" = nftables ] || {
|
[ "$FWTYPE" = iptables -o "$FWTYPE" = nftables ] || {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user