diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-09-15 12:06:07 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-09-15 12:06:07 -0700 |
commit | 93f7c1c4d0ec76d81f093b2fc966cf56c17b372b (patch) | |
tree | 2c2029653f715a2fcfe726670f039aece0518bd3 /templates/clear | |
parent | 7e5b2d590d663c40b6d1a1c4a370b0c0bb770f8c (diff) | |
download | vyatta-op-93f7c1c4d0ec76d81f093b2fc966cf56c17b372b.tar.gz vyatta-op-93f7c1c4d0ec76d81f093b2fc966cf56c17b372b.zip |
change op-mode command 'clear dns forwarding statistics' to 'clear dns forwarding all'
Diffstat (limited to 'templates/clear')
-rw-r--r-- | templates/clear/dns/forwarding/all/node.def (renamed from templates/clear/dns/forwarding/statistics/node.def) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/clear/dns/forwarding/statistics/node.def b/templates/clear/dns/forwarding/all/node.def index 6441e12..b439b78 100644 --- a/templates/clear/dns/forwarding/statistics/node.def +++ b/templates/clear/dns/forwarding/all/node.def @@ -1,8 +1,8 @@ -help: Clear DNS forwarding statistics +help: Clear DNS forwarding cache and counters run: if ps ax | grep dnsmasq | grep -v grep > /dev/null then - sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-statistics + sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-all else echo "DNS forwarding not configured" fi |