diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-16 09:44:30 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-16 09:44:30 -0700 |
commit | 8363358c3010d1f7383e3a09c16d071f9ec5b42f (patch) | |
tree | bd8b4de9797259f513e8f09e5dd40679a9a889eb /templates/clear/dns/forwarding/cache/node.def | |
parent | 4b3aad36248f3e5c02646540801ea05536445ce8 (diff) | |
parent | 93f7c1c4d0ec76d81f093b2fc966cf56c17b372b (diff) | |
download | vyatta-op-8363358c3010d1f7383e3a09c16d071f9ec5b42f.tar.gz vyatta-op-8363358c3010d1f7383e3a09c16d071f9ec5b42f.zip |
Merge branch 'islavista' of suva.vyatta.com:/git/vyatta-op into islavista
Diffstat (limited to 'templates/clear/dns/forwarding/cache/node.def')
-rw-r--r-- | templates/clear/dns/forwarding/cache/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/clear/dns/forwarding/cache/node.def b/templates/clear/dns/forwarding/cache/node.def new file mode 100644 index 0000000..8a5f8cc --- /dev/null +++ b/templates/clear/dns/forwarding/cache/node.def @@ -0,0 +1,8 @@ +help: Clear DNS forwarding cache +run: + if ps ax | grep dnsmasq | grep -v grep > /dev/null + then + sudo /opt/vyatta/bin/sudo-users/vyatta-op-dns-forwarding.pl --clear-cache + else + echo "DNS forwarding not configured" + fi |