mirror of
https://github.com/borekon/Blocklists.git
synced 2025-06-07 14:04:26 +02:00
Update blocklist.sh
This commit is contained in:
parent
2af6fc275a
commit
d08e8e108e
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ "$(whoami)" == "root" ]; then echo "root ok"; else echo "run as root!"; exit 1; fi;
|
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
|
#apt update && apt install -y iptables jq ipset coreutils grep
|
||||||
IPTABLES_PATH=$(whereis iptables | awk '{print $2}')
|
IPTABLES_PATH=$(whereis iptables | awk '{print $2}')
|
||||||
IPSET_PATH=$(whereis ipset | awk '{print $2}')
|
IPSET_PATH=$(whereis ipset | awk '{print $2}')
|
||||||
SORT_PATH=$(whereis sort | awk '{print $2}')
|
SORT_PATH=$(whereis sort | awk '{print $2}')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user