summaryrefslogtreecommitdiff
path: root/templates/telnet
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:22:05 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:23:59 -0800
commita305ff90c296df58a1de27a02f77c08871ecf40c (patch)
tree10b4157ee6200e4709970664acacf2778146dcd3 /templates/telnet
parent925e4562da09aeaf80c41f2fb085fd4295526368 (diff)
downloadvyatta-op-a305ff90c296df58a1de27a02f77c08871ecf40c.tar.gz
vyatta-op-a305ff90c296df58a1de27a02f77c08871ecf40c.zip
Merge branch 'kenwood' of 192.168.100.1:git/vyatta-op into kenwood
Diffstat (limited to 'templates/telnet')
-rw-r--r--templates/telnet/node.tag/node.def9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/telnet/node.tag/node.def b/templates/telnet/node.tag/node.def
index 643b7cb..590c587 100644
--- a/templates/telnet/node.tag/node.def
+++ b/templates/telnet/node.tag/node.def
@@ -1,5 +1,10 @@
-help: Telnet to <hostname|IPv4 address>
-allowed: vyatta-allowed-hosts
+help: Telnet to host
+allowed: echo "<hostname> <x.x.x.x> <y:y:y:y:y>"
+comp_help: Possible completions
+ <hostname> host name (static or DNS)
+ <x.x.x.x> IPv4 address
+ <y:y:y:y:y:y> IPv6 address
+
run: if [ -x /usr/bin/telnet ] ; then
/usr/bin/$*
elif [ -x /bin/busybox ] ; then