Acknowledge temporary file if disabled for "pihole -b" command
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@ -13,6 +13,10 @@ basename=pihole
|
|||||||
piholeDir=/etc/"${basename}"
|
piholeDir=/etc/"${basename}"
|
||||||
whitelist="${piholeDir}"/whitelist.txt
|
whitelist="${piholeDir}"/whitelist.txt
|
||||||
blacklist="${piholeDir}"/blacklist.txt
|
blacklist="${piholeDir}"/blacklist.txt
|
||||||
|
if [[ "${BLOCKING_ENABLED}" == false ]]; then
|
||||||
|
blacklist="${blacklist}.bck"
|
||||||
|
fi
|
||||||
|
|
||||||
readonly regexlist="/etc/pihole/regex.list"
|
readonly regexlist="/etc/pihole/regex.list"
|
||||||
reload=false
|
reload=false
|
||||||
addmode=true
|
addmode=true
|
||||||
|
Reference in New Issue
Block a user