Acknowledge temporary file if disabled for "pihole -b" command

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2018-08-13 18:17:14 +02:00
parent 337cc5ca18
commit f794018e0c
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -13,6 +13,10 @@ 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
addmode=true