X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fsf-vpn-dns-cleanup;h=d9e755c126e6e2491569bc1c37abec3195da174f;hb=a1ebefe19ab910d20fad0c2fd88637fee23dee7c;hp=cf3420ba30ebfad3961e288df3602e2733c5344a;hpb=0cc08a73110c15c4e7bbb8c8233a6c122c27490e;p=distro-setup diff --git a/fsf-vpn-dns-cleanup b/fsf-vpn-dns-cleanup index cf3420b..d9e755c 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 - systemctl reload dnsmasq + nscd -i hosts + systemctl restart dnsmasq fi fi