1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-19 06:38:17 +00:00

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