summaryrefslogtreecommitdiff
path: root/templates/renew
diff options
context:
space:
mode:
Diffstat (limited to 'templates/renew')
-rw-r--r--templates/renew/dhcp/interface/node.tag/node.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
index 84e4cc0..ab6494d 100644
--- a/templates/renew/dhcp/interface/node.tag/node.def
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -4,6 +4,4 @@ allowed:
array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
echo -n ${array[@]##*/}
-run:
- IFNAME=${4}
- sudo /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --op-command "dhcp-renew" --dev "$IFNAME"
+run: sudo /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --dhcp renew --dev "$4"