summaryrefslogtreecommitdiff
path: root/templates/show/ntp/node.def
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@io.vyatta.com>2007-11-30 18:26:24 -0800
committerTom Grennan <tgrennan@io.vyatta.com>2007-11-30 18:26:24 -0800
commit510583e9386923f1c53303b8a996bb15d52ace92 (patch)
tree8374a06f403f5ad6c241a989f9146fb41fbbec6f /templates/show/ntp/node.def
parentf6178a5b8fadae89dfe2630bc27ed8b16f51f7fe (diff)
downloadvyatta-op-510583e9386923f1c53303b8a996bb15d52ace92.tar.gz
vyatta-op-510583e9386923f1c53303b8a996bb15d52ace92.zip
fix ntpd status test
Diffstat (limited to 'templates/show/ntp/node.def')
-rw-r--r--templates/show/ntp/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/ntp/node.def b/templates/show/ntp/node.def
index 539f220..71c8813 100644
--- a/templates/show/ntp/node.def
+++ b/templates/show/ntp/node.def
@@ -1,5 +1,5 @@
help: Show peer status of network time daemon
-run: if ps -C &>/dev/null ; then
+run: if ps -C ntpd &>/dev/null ; then
ntpdc -n -c peers
else
echo NTP daemon disabled