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

pull/1048/head
DL6ER 8 years ago
parent 02d658be65
commit 03d4fcd17d

@ -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() {

Loading…
Cancel
Save