summaryrefslogtreecommitdiff
path: root/templates/set/date/ntp
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-05 14:10:16 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-05 14:10:16 -0700
commit067320a0aa36ba97d64ff5473d4ad0b3877774e4 (patch)
treea97e96bf6305b8a53d06f8e7018637a1f8fc7d6d /templates/set/date/ntp
parentfd141a3ac06bdbf52f38a7be6d72a392d951b67d (diff)
downloadvyatta-op-067320a0aa36ba97d64ff5473d4ad0b3877774e4.tar.gz
vyatta-op-067320a0aa36ba97d64ff5473d4ad0b3877774e4.zip
Use empty or missing "allowed:" fields in node.tag/node.def as wild
cards rather than "echo -n --". Also, discoverd a way to use an apparently blank line in help completion.
Diffstat (limited to 'templates/set/date/ntp')
-rw-r--r--templates/set/date/ntp/node.tag/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/set/date/ntp/node.tag/node.def b/templates/set/date/ntp/node.tag/node.def
index f8be449..be4de16 100644
--- a/templates/set/date/ntp/node.tag/node.def
+++ b/templates/set/date/ntp/node.tag/node.def
@@ -1,4 +1,3 @@
help: Set system date and time with given NTP server
-allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} ;
- echo --
+allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null}
run: sudo ntpdate ${4:-ntp.vyatta.com}