From 576367fff11fff1d5ffab2dc0fd32228a9de5e03 Mon Sep 17 00:00:00 2001 From: tristan Date: Fri, 15 Mar 2019 12:14:26 +0100 Subject: adds 127.0.0.1 as IP address to all addresses to be blocked --- retrieveAdBlocklists.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retrieveAdBlocklists.sh') diff --git a/retrieveAdBlocklists.sh b/retrieveAdBlocklists.sh index a56c73e..480ee48 100755 --- a/retrieveAdBlocklists.sh +++ b/retrieveAdBlocklists.sh @@ -1,4 +1,4 @@ #!/bin/bash while read p; do - echo "$p" | awk '{split($0,a,"|"); system("wget -O adlists/"a[1] " " a[2])}' + echo "$p" | awk '{split($0,a,"|"); system("curl -s " a[2] " > adlists/"a[1])}' done < adfilelist.txt -- cgit v1.2.3