Browse Source

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>
lilik-openwrt-22.03
Gregory L. Dietsche 4 years ago
committed by Paul Spooren
parent
commit
31fc1cf9b0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      net/safe-search/files/safe-search-maintenance

+ 2
- 2
net/safe-search/files/safe-search-maintenance View File

@ -483,6 +483,6 @@ EOL
fi fi
if [ "$RELOAD_DNSMASQ" = "1" ]; then 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 fi

Loading…
Cancel
Save