Add option to skip restarting of dnsmasq

pull/1284/head
DL6ER 7 years ago
parent 3adf8785d8
commit 189a4e0078
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

@ -401,10 +401,13 @@ SetListeningMode(){
change_setting "DNSMASQ_LISTENING" "local"
fi
ProcessDNSSettings
# Restart dnsmasq to load new configuration
RestartDNS
# Don't restart DNS server yet because other settings
# will be applied afterwards if "-web" is set
if [[ "${args[3]}" != "-web" ]]; then
ProcessDNSSettings
# Restart dnsmasq to load new configuration
RestartDNS
fi
}

Loading…
Cancel
Save