From 510583e9386923f1c53303b8a996bb15d52ace92 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Fri, 30 Nov 2007 18:26:24 -0800 Subject: fix ntpd status test --- templates/show/ntp/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3