diff options
Diffstat (limited to 'templates/release')
-rw-r--r-- | templates/release/dhcp/interface/node.tag/node.def | 6 |
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" |