iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mainly add external monitoring of mail server
[distro-setup]
/
fsf-vpn-dns-cleanup
diff --git
a/fsf-vpn-dns-cleanup
b/fsf-vpn-dns-cleanup
index cf3420ba30ebfad3961e288df3602e2733c5344a..be7fb582a99248b01d5a25490ee26f10ee2be6e5 100755
(executable)
--- 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