mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
safe-search: restart dnsmasq instead of reload
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>
This commit is contained in:
committed by
Paul Spooren
parent
f2837d7470
commit
31fc1cf9b0
@@ -483,6 +483,6 @@ EOL
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user