fix vpn host naming
[distro-setup] / fsf-vpn-dns-cleanup
1 #!/bin/bash
2
3 set -eE -o pipefail
4 trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
5
6 if ! echo | /a/exe/cedit fsf /etc/dnsmasq-servers.conf; then
7 if systemctl is-active dnsmasq >/dev/null; then
8 systemctl reload dnsmasq
9 fi
10 fi