mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 10:28:36 +00:00
Set FTL/DNSMASQ listening behaviour per variable if it is passed. Fixes #1188
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -171,6 +171,12 @@ setup_FTL_Interface(){
|
||||
change_setting "PIHOLE_INTERFACE" "${interface}"
|
||||
}
|
||||
|
||||
setup_FTL_ListeningBehaviour(){
|
||||
if [ -n "$DNSMASQ_LISTENING" ]; then
|
||||
change_setting "DNSMASQ_LISTENING" "${DNSMASQ_LISTENING}"
|
||||
fi;
|
||||
}
|
||||
|
||||
setup_FTL_CacheSize() {
|
||||
local warning=" [i] WARNING: CUSTOM_CACHE_SIZE not used"
|
||||
local dnsmasq_pihole_01_location="/etc/dnsmasq.d/01-pihole.conf"
|
||||
|
||||
Reference in New Issue
Block a user