From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/telnet.xml.in | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 op-mode-definitions/telnet.xml.in (limited to 'op-mode-definitions/telnet.xml.in') diff --git a/op-mode-definitions/telnet.xml.in b/op-mode-definitions/telnet.xml.in new file mode 100644 index 000000000..c5bb6d283 --- /dev/null +++ b/op-mode-definitions/telnet.xml.in @@ -0,0 +1,30 @@ + + + + + Telnet to a node + + + + + Telnet to a host + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + /usr/bin/telnet $3 + + + + Telnet to a host:port + + <0-65535> + + + /usr/bin/telnet $3 $5 + + + + + + -- cgit v1.2.3