mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-16 20:12:58 +03:00
blockcheck: test tpws exists
This commit is contained in:
parent
ad5c246629
commit
2fb93c6add
@ -361,12 +361,14 @@ check_system()
|
|||||||
Linux)
|
Linux)
|
||||||
PKTWS="$NFQWS"
|
PKTWS="$NFQWS"
|
||||||
PKTWSD=nfqws
|
PKTWSD=nfqws
|
||||||
|
if [ -x "$TPWS" ] ; then
|
||||||
if tpws_can_fix_seg ; then
|
if tpws_can_fix_seg ; then
|
||||||
echo tpws supports --fix-seg on this system
|
echo tpws supports --fix-seg on this system
|
||||||
FIX_SEG='--fix-seg'
|
FIX_SEG='--fix-seg'
|
||||||
else
|
else
|
||||||
echo tpws does not support --fix-seg on this system
|
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 ] || {
|
||||||
echo firewall type $FWTYPE not supported in $UNAME
|
echo firewall type $FWTYPE not supported in $UNAME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user