X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=fsf-vpn-dns-cleanup;h=be7fb582a99248b01d5a25490ee26f10ee2be6e5;hp=cf3420ba30ebfad3961e288df3602e2733c5344a;hb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2;hpb=4d0dc703ef2e62cd16ea84f27456f6f50f74baa3 diff --git a/fsf-vpn-dns-cleanup b/fsf-vpn-dns-cleanup index cf3420b..be7fb58 100755 --- a/fsf-vpn-dns-cleanup +++ b/fsf-vpn-dns-cleanup @@ -5,6 +5,7 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR if ! echo | /a/exe/cedit fsf /etc/dnsmasq-servers.conf; then if systemctl is-active dnsmasq >/dev/null; then + nscd -i hosts systemctl reload dnsmasq fi fi