summaryrefslogtreecommitdiff
path: root/templates/release
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-28 16:44:08 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-28 16:48:51 -0800
commita32dc00e1e7437e07e70ad3024fd80a867ad06cf (patch)
treea61d107433d82e1d46091890d047f23c9b094c5d /templates/release
parentcba9b407840026da532f9f57f14784b2a183d6a0 (diff)
downloadvyatta-op-a32dc00e1e7437e07e70ad3024fd80a867ad06cf.tar.gz
vyatta-op-a32dc00e1e7437e07e70ad3024fd80a867ad06cf.zip
Expand all possible interfaces with leases for renew
Also mark all scripts as executable.
Diffstat (limited to 'templates/release')
-rw-r--r--templates/release/dhcp/interface/node.tag/node.def6
1 files changed, 1 insertions, 5 deletions
diff --git a/templates/release/dhcp/interface/node.tag/node.def b/templates/release/dhcp/interface/node.tag/node.def
index a5cd912..f483278 100644
--- a/templates/release/dhcp/interface/node.tag/node.def
+++ b/templates/release/dhcp/interface/node.tag/node.def
@@ -1,7 +1,3 @@
help: Release DHCP IP address lease for specified interface
-allowed:
- local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
- echo -n ${array[@]##*/}
-
+allowed: /opt/vyatta/bin/show-dhcp-leases.pl
run: sudo /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --dhcp release --dev "$4"