summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/release/dhcp/interface/node.def1
-rw-r--r--templates/release/dhcp/interface/node.tag/node.def4
-rw-r--r--templates/release/dhcp/node.def1
-rw-r--r--templates/release/node.def1
-rw-r--r--templates/renew/dhcp/interface/node.def1
-rw-r--r--templates/renew/dhcp/interface/node.tag/node.def5
-rw-r--r--templates/renew/dhcp/node.def1
-rw-r--r--templates/renew/node.def1
8 files changed, 15 insertions, 0 deletions
diff --git a/templates/release/dhcp/interface/node.def b/templates/release/dhcp/interface/node.def
new file mode 100644
index 0000000..e65989f
--- /dev/null
+++ b/templates/release/dhcp/interface/node.def
@@ -0,0 +1 @@
+help: Release DHCP client lease for specified interface
diff --git a/templates/release/dhcp/interface/node.tag/node.def b/templates/release/dhcp/interface/node.tag/node.def
new file mode 100644
index 0000000..8f5fb61
--- /dev/null
+++ b/templates/release/dhcp/interface/node.tag/node.def
@@ -0,0 +1,4 @@
+help: Release DHCP IP address lease for specified interface
+run:
+ IFNAME=${4}
+ /opt/vyatta/sbin/vyatta-interfaces.pl --op-command dhcp-release --dev $IFNAME
diff --git a/templates/release/dhcp/node.def b/templates/release/dhcp/node.def
new file mode 100644
index 0000000..03365d7
--- /dev/null
+++ b/templates/release/dhcp/node.def
@@ -0,0 +1 @@
+help: Release DHCP client lease
diff --git a/templates/release/node.def b/templates/release/node.def
new file mode 100644
index 0000000..36c8901
--- /dev/null
+++ b/templates/release/node.def
@@ -0,0 +1 @@
+help: Release specified variable
diff --git a/templates/renew/dhcp/interface/node.def b/templates/renew/dhcp/interface/node.def
new file mode 100644
index 0000000..87993a9
--- /dev/null
+++ b/templates/renew/dhcp/interface/node.def
@@ -0,0 +1 @@
+help: Renew DHCP client lease for specified interface
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
new file mode 100644
index 0000000..460e2f6
--- /dev/null
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -0,0 +1,5 @@
+help: Renew DHCP IP address lease for specified interface
+run:
+ IFNAME=${4}
+ /opt/vyatta/sbin/vyatta-interfaces.pl --op-command dhcp-renew --dev $IFNAME
+
diff --git a/templates/renew/dhcp/node.def b/templates/renew/dhcp/node.def
new file mode 100644
index 0000000..78b64fb
--- /dev/null
+++ b/templates/renew/dhcp/node.def
@@ -0,0 +1 @@
+help: Renew DHCP client lease
diff --git a/templates/renew/node.def b/templates/renew/node.def
new file mode 100644
index 0000000..9b4c9d4
--- /dev/null
+++ b/templates/renew/node.def
@@ -0,0 +1 @@
+help: Renew specified variable