summaryrefslogtreecommitdiff
path: root/templates/telnet
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:45:22 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-02 10:45:22 -0800
commit6d5e270564e93264b97532c3c535fff97c35606c (patch)
tree66b26252efca3a2a79cbe2b1bf68280f9efc943c /templates/telnet
parentdf73710d1a6bc0885f959e5ba297912955e8ceb5 (diff)
downloadvyatta-op-6d5e270564e93264b97532c3c535fff97c35606c.tar.gz
vyatta-op-6d5e270564e93264b97532c3c535fff97c35606c.zip
Fix allowed strings for hostname/ipaddress
Need to use echo -n
Diffstat (limited to 'templates/telnet')
-rw-r--r--templates/telnet/node.tag/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/telnet/node.tag/node.def b/templates/telnet/node.tag/node.def
index d9b78e6..0b1ecf0 100644
--- a/templates/telnet/node.tag/node.def
+++ b/templates/telnet/node.tag/node.def
@@ -1,5 +1,5 @@
help: Telnet to host
-allowed: echo "<hostname> <x.x.x.x> <y:y:y:y:y>"
+allowed: echo -n '<hostname> <x.x.x.x> <y:y:y:y:y>'
run: if [ -x /usr/bin/telnet ] ; then
/usr/bin/$*