list.sh writes into blacklist.txt not black.list so does not need to account for a possibly changed list location

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2356/head
DL6ER 6 years ago
parent f794018e0c
commit 165affc39b
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -13,9 +13,6 @@ basename=pihole
piholeDir=/etc/"${basename}"
whitelist="${piholeDir}"/whitelist.txt
blacklist="${piholeDir}"/blacklist.txt
if [[ "${BLOCKING_ENABLED}" == false ]]; then
blacklist="${blacklist}.bck"
fi
readonly regexlist="/etc/pihole/regex.list"
reload=false

Loading…
Cancel
Save