summaryrefslogtreecommitdiff
path: root/templates/clear/dns/forwarding/process/node.def
blob: 20427cbd0b3b04dced47c67fb1cd1c971ceef0e9 (plain)
1
2
3
4
5
6
7
8
help: Clear DNS forwarding process
run:
        if ps ax | grep dnsmasq | grep -v grep > /dev/null
        then
            sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-process
        else
            echo "DNS forwarding not configured"
        fi