From 831845a659ffe6d054d09d19364021519f211a23 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 20 Jun 2008 22:58:12 +0000 Subject: Fix bug 3059 Operator Level commands for DHCP client implemented op-mode commands for DHCP client: 'release dhcp interface <>' 'renew dhcp interface <>' --- templates/release/dhcp/interface/node.def | 1 + templates/release/dhcp/interface/node.tag/node.def | 4 ++++ templates/release/dhcp/node.def | 1 + templates/release/node.def | 1 + 4 files changed, 7 insertions(+) create mode 100644 templates/release/dhcp/interface/node.def create mode 100644 templates/release/dhcp/interface/node.tag/node.def create mode 100644 templates/release/dhcp/node.def create mode 100644 templates/release/node.def (limited to 'templates/release') 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 -- cgit v1.2.3