From fd255fe92ff63534dd8a61df0466f8c52abe6fdd Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sat, 9 Aug 2008 11:52:33 +0000 Subject: dns-forwarding op-mode commands: 'clear dns forwarding cache' 'show dns forwarding statistics' --- templates/clear/dns/forwarding/cache/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/clear/dns/forwarding/cache') diff --git a/templates/clear/dns/forwarding/cache/node.def b/templates/clear/dns/forwarding/cache/node.def index 8211e12..8a5f8cc 100644 --- a/templates/clear/dns/forwarding/cache/node.def +++ b/templates/clear/dns/forwarding/cache/node.def @@ -2,7 +2,7 @@ help: Clear DNS forwarding cache run: if ps ax | grep dnsmasq | grep -v grep > /dev/null then - kill -1 `pidof dnsmasq` + sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-cache else echo "DNS forwarding not configured" fi -- cgit v1.2.3