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/show-host.xml.in | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 op-mode-definitions/show-host.xml.in (limited to 'op-mode-definitions/show-host.xml.in') diff --git a/op-mode-definitions/show-host.xml.in b/op-mode-definitions/show-host.xml.in new file mode 100644 index 000000000..eee1288a1 --- /dev/null +++ b/op-mode-definitions/show-host.xml.in @@ -0,0 +1,44 @@ + + + + + + + Show host information + + + + + Show host current date + + /bin/date + + + + Show domain name + + /bin/domainname -d + + + + Show host name + + /bin/hostname + + + + Lookup host information for hostname|IPv4 address + + /usr/bin/host $4 + + + + Show host operating system details + + /bin/uname -a + + + + + + -- cgit v1.2.3