Some users have reported that reloading dnsmasq does not always work. It
sometimes stop responding to DNS lookup requests after being reloaded.
This patch changes "safe-search-maintenance" so that it restarts dnsmasq
instead of reloading it.
Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
fi
if [ "$RELOAD_DNSMASQ" = "1" ]; then
- echo reloading dnsmasq to activate new IP addresses.
- /etc/init.d/dnsmasq reload
+ echo restarting dnsmasq to activate new IP addresses.
+ /etc/init.d/dnsmasq restart
fi