summaryrefslogtreecommitdiff
path: root/templates/renew/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/renew/dhcp')
-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
3 files changed, 7 insertions, 0 deletions
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