Merge pull request #543 from billz/feature/notracking

Enable ad / tracker blocking with host blocklists
This commit is contained in:
Bill Zimmerman
2020-04-03 08:58:46 +02:00
committed by GitHub
18 changed files with 411 additions and 2 deletions

21
installers/update_blocklist.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
#
#
# @author billz
# license: GNU General Public License v3.0
# Exit on error
set -o errexit
# Exit on error inside functions
set -o errtrace
# Turn on traces, disabled by default
#set -o xtrace
update_url=$1
file=$2
destination=$3
wget -q ${update_url} -O ${destination}${file} &> /dev/null
echo "$?"