diff options
author | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-02 12:23:55 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@uffda.(none)> | 2007-11-02 12:23:55 -0700 |
commit | ec5006f51ff0abc03026f8e6f3d311c705b202f7 (patch) | |
tree | 0617b94fb2798b3b7fad5dfdcf050ff578f5b9aa /templates/show/ntp | |
parent | 81dc1cbd4626827284d0a8952a5365edac654ddb (diff) | |
download | vyatta-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.def | 2 | ||||
-rw-r--r-- | templates/show/ntp/node.tag/node.def | 2 |
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} |