ipset: additional lists

This commit is contained in:
bol-van
2022-03-17 09:55:31 +03:00
parent 9be1551f5d
commit 3536dd45d7
5 changed files with 40 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ get_antifilter()
curl --fail --max-time 150 --connect-timeout 20 --max-filesize 41943040 -k -L "$1" | cut_local >"$ZIPLISTTMP" &&
{
dlsize=$(LANG=C wc -c "$ZIPLISTTMP" | xargs | cut -f 1 -d ' ')
if [ $dlsize -lt 204800 ]; then
if [ $dlsize -lt 102400 ]; then
echo list file is too small. can be bad.
exit 2
fi