From 76ec2fd886f15919d8e3256f5dc3e3fa846ada9e Mon Sep 17 00:00:00 2001 From: Alfonso Date: Mon, 6 Feb 2023 15:45:07 +0100 Subject: [PATCH] Update blocklist.sh --- blocklist.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/blocklist.sh b/blocklist.sh index f09e0e8..7c3bbe2 100755 --- a/blocklist.sh +++ b/blocklist.sh @@ -1,5 +1,6 @@ #!/bin/bash if [ "$(whoami)" == "root" ]; then echo "root ok"; else echo "run as root!"; exit 1; fi; +apt update && apt install -y iptables jq ipset coreutils grep IPTABLES_PATH=$(whereis iptables | awk '{print $2}') IPSET_PATH=$(whereis ipset | awk '{print $2}') SORT_PATH=$(whereis sort | awk '{print $2}')