mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Look for DHCP / DNS server settings which would have to be reapplied after updating (since we overwrite 01-pihole.conf)
This commit is contained in:
parent
1e627c7e8f
commit
02d658be65
1 changed files with 11 additions and 0 deletions
|
@ -888,6 +888,17 @@ finalExports() {
|
||||||
echo "PIHOLE_DNS_2=${PIHOLE_DNS_2}"
|
echo "PIHOLE_DNS_2=${PIHOLE_DNS_2}"
|
||||||
echo "QUERY_LOGGING=${QUERY_LOGGING}"
|
echo "QUERY_LOGGING=${QUERY_LOGGING}"
|
||||||
}>> "${setupVars}"
|
}>> "${setupVars}"
|
||||||
|
|
||||||
|
# Look for DHCP / DNS server settings which would have to be reapplied
|
||||||
|
source "${setupVars}"
|
||||||
|
source "/etc/.pihole/advanced/Scripts/webpage.sh"
|
||||||
|
if [[ "${DNS_FQDN_REQUIRED}" != "" ]] ; then
|
||||||
|
ProcessDNSSettings
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${DHCP_ACTIVE}" == "true" ]] ; then
|
||||||
|
ProcessDHCPSettings
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
installPihole() {
|
installPihole() {
|
||||||
|
|
Loading…
Reference in a new issue