summaryrefslogtreecommitdiff
path: root/templates/show/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show/ntp')
-rw-r--r--templates/show/ntp/node.def2
-rw-r--r--templates/show/ntp/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/show/ntp/node.def b/templates/show/ntp/node.def
index 2a53d0a..c56d291 100644
--- a/templates/show/ntp/node.def
+++ b/templates/show/ntp/node.def
@@ -1,2 +1,2 @@
help: Show date and time of network server [default: ntp.vyatta.com]
-run: ntpdate -q ntp.vyatta.com
+run: /usr/sbin/ntpdate -q ntp.vyatta.com
diff --git a/templates/show/ntp/node.tag/node.def b/templates/show/ntp/node.tag/node.def
index aa0dfaa..38828a8 100644
--- a/templates/show/ntp/node.tag/node.def
+++ b/templates/show/ntp/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show date and time of given NTP server
allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null}
-run: ntpdate -q ${3:-ntp.vyatta.com}
+run: /usr/sbin/ntpdate -q ${3:-ntp.vyatta.com}