Reprocess DHCP settings after update

This commit is contained in:
DL6ER
2017-01-02 10:50:59 +01:00
parent 5c7fc05a32
commit 85f0241c0d
2 changed files with 11 additions and 1 deletions

View File

@@ -892,9 +892,14 @@ finalExports() {
# Look for 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}" != "" ]] ; then
ProcessDHCPSettings
fi
}
installPihole() {