diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-09 11:52:33 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-09 11:52:33 +0000 |
commit | fd255fe92ff63534dd8a61df0466f8c52abe6fdd (patch) | |
tree | 7dd2e02fab0b7f8ebea876b684e28a519fc3bb34 /templates/clear/dns/forwarding/cache | |
parent | 66222be044d65fe045d4148ddf4eb5d178294150 (diff) | |
download | vyatta-op-fd255fe92ff63534dd8a61df0466f8c52abe6fdd.tar.gz vyatta-op-fd255fe92ff63534dd8a61df0466f8c52abe6fdd.zip |
dns-forwarding op-mode commands:
'clear dns forwarding cache'
'show dns forwarding statistics'
Diffstat (limited to 'templates/clear/dns/forwarding/cache')
-rw-r--r-- | templates/clear/dns/forwarding/cache/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
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 |