mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Acknowledge temporary file if disabled for "pihole -b" command
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
337cc5ca18
commit
f794018e0c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue