From bb5769e14cf858612b524af56cf17a06a175e7dd Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Thu, 19 Nov 2015 21:58:12 +0000 Subject: 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 --- templates/restart/dns/forwarding/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/restart/dns/forwarding') 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 -- cgit v1.2.3