summaryrefslogtreecommitdiffstats
path: root/retrieveAdBlocklists.sh
diff options
context:
space:
mode:
authortristan <steckbrief@geekmail.de>2019-03-15 12:14:26 +0100
committertristan <steckbrief@geekmail.de>2019-03-15 12:14:26 +0100
commit576367fff11fff1d5ffab2dc0fd32228a9de5e03 (patch)
tree3cee5c20235b93763504ef00902a3f5de60acd5f /retrieveAdBlocklists.sh
parentce5c3fd5ff52eb8168b7b998743dd6183ecfc5be (diff)
adds 127.0.0.1 as IP address to all addresses to be blocked
Diffstat (limited to '')
-rwxr-xr-xretrieveAdBlocklists.sh2
1 files changed, 1 insertions, 1 deletions
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