From 3f9874e3165d9aad378aaa64e67095710185d19a Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 6 Apr 2022 10:55:33 +0300 Subject: [PATCH] blockcheck: detect pfsense and disable tpws tests --- blockcheck.sh | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/blockcheck.sh b/blockcheck.sh index 082abcf..b9059df 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -110,6 +110,7 @@ check_system() UNAME=$(uname) SUBSYS= + local s # can be passed FWTYPE=iptables to override default nftables preference case "$UNAME" in @@ -126,6 +127,7 @@ check_system() PKTWS="$DVTWS" PKTWSD=dvtws FWTYPE=ipfw + [ -f /etc/platform ] && read SUBSYS