summaryrefslogtreecommitdiff
path: root/templates/show/ntp
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-02 12:23:55 -0700
committerStig Thormodsrud <stig@uffda.(none)>2007-11-02 12:23:55 -0700
commitec5006f51ff0abc03026f8e6f3d311c705b202f7 (patch)
tree0617b94fb2798b3b7fad5dfdcf050ff578f5b9aa /templates/show/ntp
parent81dc1cbd4626827284d0a8952a5365edac654ddb (diff)
downloadvyatta-op-ec5006f51ff0abc03026f8e6f3d311c705b202f7.tar.gz
vyatta-op-ec5006f51ff0abc03026f8e6f3d311c705b202f7.zip
- Add "show log"
- Fix "show ntp" for non-root user.
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}