1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Don't actually have to reapply DHCP settings since we are going to save it in a different file we don't replace by a template

This commit is contained in:
DL6ER 2016-12-28 16:32:24 +00:00
parent 02d658be65
commit 03d4fcd17d

View File

@ -889,16 +889,12 @@ finalExports() {
echo "QUERY_LOGGING=${QUERY_LOGGING}" echo "QUERY_LOGGING=${QUERY_LOGGING}"
}>> "${setupVars}" }>> "${setupVars}"
# Look for DHCP / DNS server settings which would have to be reapplied # Look for DNS server settings which would have to be reapplied
source "${setupVars}" source "${setupVars}"
source "/etc/.pihole/advanced/Scripts/webpage.sh" source "/etc/.pihole/advanced/Scripts/webpage.sh"
if [[ "${DNS_FQDN_REQUIRED}" != "" ]] ; then if [[ "${DNS_FQDN_REQUIRED}" != "" ]] ; then
ProcessDNSSettings ProcessDNSSettings
fi fi
if [[ "${DHCP_ACTIVE}" == "true" ]] ; then
ProcessDHCPSettings
fi
} }
installPihole() { installPihole() {