tornet.yml aktualisiert

This commit is contained in:
olli 2023-08-07 15:24:06 +02:00
parent 85ec23756a
commit 8c3e27e1d7

View File

@ -406,7 +406,7 @@
cd /etc/dnscrypt-proxy cd /etc/dnscrypt-proxy
# get hosts blocklist from https://github.com/StevenBlack/hosts # get hosts blocklist from https://github.com/StevenBlack/hosts
g_runcmd wget https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts -O - | grep "^0\.0\.0\.0 " | cut -d" " -f2 >${g_tmp}/blocked-names.txt g_runcmd wget https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts -O - | grep "^0\.0\.0\.0 " | cut -d" " -f2 | grep "\." >${g_tmp}/blocked-names.txt
numhosts=$(cat ${g_tmp}/blocked-names.txt | wc -l) numhosts=$(cat ${g_tmp}/blocked-names.txt | wc -l)
if [ "$numhosts" -gt 200000 ] if [ "$numhosts" -gt 200000 ]
then then