tornet.yml aktualisiert
This commit is contained in:
parent
cec4c1377a
commit
04beef742f
@ -408,7 +408,7 @@
|
||||
# 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 | grep "\." | egrep -v '^\.|\.$' >${g_tmp}/blocked-names.txt
|
||||
numhosts=$(cat ${g_tmp}/blocked-names.txt | wc -l)
|
||||
if [ "$numhosts" -gt 200000 ]
|
||||
if [ "$numhosts" -gt 50000 ]
|
||||
then
|
||||
cat ${g_tmp}/blocked-names.txt >blocked-names.txt
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user