diff options
-rw-r--r-- | debian/control | 3 | ||||
-rw-r--r-- | templates/show/arp/node.def | 2 | ||||
-rw-r--r-- | templates/show/host/date/node.def | 2 | ||||
-rw-r--r-- | templates/show/host/lookup/node.def | 1 | ||||
-rw-r--r-- | templates/show/host/lookup/node.tag/node.def | 3 | ||||
-rw-r--r-- | templates/show/host/name/node.def | 2 | ||||
-rw-r--r-- | templates/show/host/node.def | 1 | ||||
-rw-r--r-- | templates/show/host/os/node.def | 2 | ||||
-rw-r--r-- | templates/show/users/node.def | 2 |
9 files changed, 17 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 020126d..074e6e5 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,8 @@ Depends: bash (>= 3.1), procps (>= 1:3.2.7-3), pciutils, lsof, - coreutils (>= 5.97-5.3) + coreutils (>= 5.97-5.3), + host Suggests: util-linux (>= 2.13-5), net-tools, ncurses-bin (>= 5.5-5), diff --git a/templates/show/arp/node.def b/templates/show/arp/node.def new file mode 100644 index 0000000..021f848 --- /dev/null +++ b/templates/show/arp/node.def @@ -0,0 +1,2 @@ +help: Show Address Resolution Protocol Information +run: /usr/sbin/arp -e diff --git a/templates/show/host/date/node.def b/templates/show/host/date/node.def new file mode 100644 index 0000000..6ea4383 --- /dev/null +++ b/templates/show/host/date/node.def @@ -0,0 +1,2 @@ +help: Show host current date +run: /bin/date diff --git a/templates/show/host/lookup/node.def b/templates/show/host/lookup/node.def new file mode 100644 index 0000000..d8368b6 --- /dev/null +++ b/templates/show/host/lookup/node.def @@ -0,0 +1 @@ +help: Lookup host info for host/ipaddress diff --git a/templates/show/host/lookup/node.tag/node.def b/templates/show/host/lookup/node.tag/node.def new file mode 100644 index 0000000..e0dd0df --- /dev/null +++ b/templates/show/host/lookup/node.tag/node.def @@ -0,0 +1,3 @@ +help: Lookup host information for host/ipaddres +allowed: vyatta-allowed-hosts +run: /usr/bin/host $4 diff --git a/templates/show/host/name/node.def b/templates/show/host/name/node.def new file mode 100644 index 0000000..0197d10 --- /dev/null +++ b/templates/show/host/name/node.def @@ -0,0 +1,2 @@ +help: Show host name +run: /bin/hostname diff --git a/templates/show/host/node.def b/templates/show/host/node.def new file mode 100644 index 0000000..65a0694 --- /dev/null +++ b/templates/show/host/node.def @@ -0,0 +1 @@ +help: Show host information diff --git a/templates/show/host/os/node.def b/templates/show/host/os/node.def new file mode 100644 index 0000000..1cfe2ec --- /dev/null +++ b/templates/show/host/os/node.def @@ -0,0 +1,2 @@ +help: Show host operating system details +run: /bin/uname -a diff --git a/templates/show/users/node.def b/templates/show/users/node.def new file mode 100644 index 0000000..6a88319 --- /dev/null +++ b/templates/show/users/node.def @@ -0,0 +1,2 @@ +help: Show user information +run: who |