1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

wildcardlist

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
Rob Gill 2018-06-13 16:19:07 +10:00 committed by GitHub
parent 2255d05664
commit b8e1849cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@
# Globals
piholeDir="/etc/pihole"
adListsList="$piholeDir/adlists.list"
wildcardlist="/etc/dnsmasq.d/03-pihole-wildcard.conf"
options="$*"
adlist=""
all=""
@ -19,7 +20,7 @@ blockpage=""
matchType="match"
colfile="/opt/pihole/COL_TABLE"
source ${colfile}
source "$colfile"
# Scan an array of files for matching strings
scanList(){