Browse Source

blockcheck: test tpws exists

pull/1361/head
bol-van 2 months ago
parent
commit
2fb93c6add
  1. 2
      blockcheck.sh

2
blockcheck.sh

@ -361,12 +361,14 @@ check_system()
Linux)
PKTWS="$NFQWS"
PKTWSD=nfqws
if [ -x "$TPWS" ] ; then
if tpws_can_fix_seg ; then
echo tpws supports --fix-seg on this system
FIX_SEG='--fix-seg'
else
echo tpws does not support --fix-seg on this system
fi
fi
linux_fwtype
[ "$FWTYPE" = iptables -o "$FWTYPE" = nftables ] || {
echo firewall type $FWTYPE not supported in $UNAME

Loading…
Cancel
Save