Skip to content

Commit

Permalink
v6.9.1
Browse files Browse the repository at this point in the history
Fix edge case where curl fails to download blacklists due to DNSMasq being overwhelmed.
  • Loading branch information
Adamm00 committed Oct 25, 2019
1 parent 8b90b07 commit 9901cae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firewall.sh
Expand Up @@ -9,7 +9,7 @@
# __/ | #
# |___/ #
# #
## - 14/10/2019 - Asus Firewall Addition By Adamm v6.9.0 #
## - 25/10/2019 - Asus Firewall Addition By Adamm v6.9.1 #
## https://github.com/Adamm00/IPSet_ASUS #
#############################################################################################################

Expand Down Expand Up @@ -3083,6 +3083,7 @@ case "$1" in
cwd="$(pwd)"
Clean_Temp
cd /tmp/skynet/lists || exit 1
if [ "$(nvram get dns_local_cache)" = "1" ] && [ "$(cat /jffs/shared-*-whitelist | wc -l)" -gt "150" ]; then sleep 10; fi
while IFS= read -r "domain" && [ -n "$domain" ]; do
curl -fsL --retry 3 "$domain" -O &
done < /jffs/shared-Skynet-whitelist
Expand Down

0 comments on commit 9901cae

Please sign in to comment.