Add option to skip restarting of dnsmasq
This commit is contained in:
@ -401,10 +401,13 @@ SetListeningMode(){
|
||||
change_setting "DNSMASQ_LISTENING" "local"
|
||||
fi
|
||||
|
||||
# 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
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user