diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-19 21:58:12 +0000 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2015-11-19 21:58:12 +0000 |
commit | bb5769e14cf858612b524af56cf17a06a175e7dd (patch) | |
tree | d7b0f9e7397288d598df17f9558ad16d776e73b1 | |
parent | 06d24d7b791acf4ad906602d9769a4d2495b0b70 (diff) | |
download | vyatta-op-bb5769e14cf858612b524af56cf17a06a175e7dd.tar.gz vyatta-op-bb5769e14cf858612b524af56cf17a06a175e7dd.zip |
vyatta-op: set 'restart dns forwarding' to use vyatta-dns-forwarding.pl
Update the op mode command 'restart dns forwarding' to use the expanded
vyatta-dns-forwarding.pl code.
Bug #619 http://bugzilla.vyos.net/show_bug.cgi?id=619
-rw-r--r-- | templates/restart/dns/forwarding/node.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/restart/dns/forwarding/node.def b/templates/restart/dns/forwarding/node.def index 18f530e..b66ab3c 100644 --- a/templates/restart/dns/forwarding/node.def +++ b/templates/restart/dns/forwarding/node.def @@ -1,8 +1,8 @@ -help: Restart DNS forwarder +help: Restart DNS forwarding run: - echo "Restarting DNS forwarder..." - sudo /etc/init.d/dnsmasq restart + echo "Restarting DNS forwarding..." + sudo /opt/vyatta/sbin/vyatta-dns-forwarding.pl --restart-dnsforwarding; if [[ $? -eq 0 ]]; then echo "Success!" fi |