diff options
-rw-r--r-- | templates/telnet/node.def | 1 | ||||
-rw-r--r-- | templates/telnet/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/telnet/node.tag/node.tag/node.def | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/telnet/node.def b/templates/telnet/node.def new file mode 100644 index 0000000..18cd187 --- /dev/null +++ b/templates/telnet/node.def @@ -0,0 +1 @@ +help: telnet to <host> diff --git a/templates/telnet/node.tag/node.def b/templates/telnet/node.tag/node.def new file mode 100644 index 0000000..258d014 --- /dev/null +++ b/templates/telnet/node.tag/node.def @@ -0,0 +1,3 @@ +help: telnet to <host> +allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d' ${HOSTFILE:-/dev/null} +run: shift; ${vyatta_sbindir}/telnet $* diff --git a/templates/telnet/node.tag/node.tag/node.def b/templates/telnet/node.tag/node.tag/node.def new file mode 100644 index 0000000..8d37740 --- /dev/null +++ b/templates/telnet/node.tag/node.tag/node.def @@ -0,0 +1,3 @@ +help: telnet to <host> <port> +allowed: +run: shift; ${vyatta_sbindir}/telnet $* |