diff options
Diffstat (limited to 'templates/restart/dns/forwarding/node.def')
-rw-r--r-- | templates/restart/dns/forwarding/node.def | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/restart/dns/forwarding/node.def b/templates/restart/dns/forwarding/node.def deleted file mode 100644 index 5740ebf..0000000 --- a/templates/restart/dns/forwarding/node.def +++ /dev/null @@ -1,12 +0,0 @@ -help: Restart DNS forwarding - -run: - if cli-shell-api existsActive service dns forwarding; then - echo "Restarting DNS forwarding..." - sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --restart-dnsforwarding; - if [[ $? -eq 0 ]]; then - echo "Success!" - fi - else - echo "DNS forwarding is not configured" - fi |