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