diff options
Diffstat (limited to 'templates/restart/dns/forwarding/node.def')
-rw-r--r-- | templates/restart/dns/forwarding/node.def | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/restart/dns/forwarding/node.def b/templates/restart/dns/forwarding/node.def new file mode 100644 index 0000000..18f530e --- /dev/null +++ b/templates/restart/dns/forwarding/node.def @@ -0,0 +1,9 @@ +help: Restart DNS forwarder + +run: + echo "Restarting DNS forwarder..." + sudo /etc/init.d/dnsmasq restart + if [[ $? -eq 0 ]]; then + echo "Success!" + fi + |