#!/bin/bash set -eE -o pipefail 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 fi fi