summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/release/dhcp/interface/node.tag/node.def2
-rw-r--r--templates/renew/dhcp/interface/node.tag/node.def2
-rw-r--r--templates/show/tcp/all/node.def2
-rw-r--r--templates/show/tcp/node.def2
-rw-r--r--templates/show/tcp/numeric/node.def2
-rw-r--r--templates/show/udp/node.def2
-rw-r--r--templates/show/udp/numeric/node.def2
7 files changed, 12 insertions, 2 deletions
diff --git a/templates/release/dhcp/interface/node.tag/node.def b/templates/release/dhcp/interface/node.tag/node.def
index 85773b6..834e682 100644
--- a/templates/release/dhcp/interface/node.tag/node.def
+++ b/templates/release/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Release DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
echo -n ${array[@]##*/}
run:
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
index 9e6c037..84e4cc0 100644
--- a/templates/renew/dhcp/interface/node.tag/node.def
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Renew DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
echo -n ${array[@]##*/}
run:
diff --git a/templates/show/tcp/all/node.def b/templates/show/tcp/all/node.def
new file mode 100644
index 0000000..6aa1cae
--- /dev/null
+++ b/templates/show/tcp/all/node.def
@@ -0,0 +1,2 @@
+help: show all TCP connections
+run: /sbin/ss -t -a
diff --git a/templates/show/tcp/node.def b/templates/show/tcp/node.def
new file mode 100644
index 0000000..8b6c99b
--- /dev/null
+++ b/templates/show/tcp/node.def
@@ -0,0 +1,2 @@
+help: show TCP connection information
+run: /sbin/ss -t -r
diff --git a/templates/show/tcp/numeric/node.def b/templates/show/tcp/numeric/node.def
new file mode 100644
index 0000000..7df9efe
--- /dev/null
+++ b/templates/show/tcp/numeric/node.def
@@ -0,0 +1,2 @@
+help: show TCP connection without resolving names
+run: /sbin/ss -t -n
diff --git a/templates/show/udp/node.def b/templates/show/udp/node.def
new file mode 100644
index 0000000..ef9e55f
--- /dev/null
+++ b/templates/show/udp/node.def
@@ -0,0 +1,2 @@
+help: show UDP socket information
+run: /sbin/ss -u -a -r
diff --git a/templates/show/udp/numeric/node.def b/templates/show/udp/numeric/node.def
new file mode 100644
index 0000000..cb43a91
--- /dev/null
+++ b/templates/show/udp/numeric/node.def
@@ -0,0 +1,2 @@
+help: show UDP socket information without resolving names
+run: /sbin/ss -u -a -n