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.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
index 3bc5993..9952a49 100644
--- a/templates/renew/dhcp/interface/node.tag/node.def
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -6,5 +6,4 @@ allowed:
run:
IFNAME=${4}
- /opt/vyatta/sbin/vyatta-interfaces.pl --op-command dhcp-renew --dev $IFNAME
-
+ sudo /opt/vyatta/bin/sudo-users/vyatta-interfaces.pl --op-command "dhcp-renew" --dev "$IFNAME"