From d1627b367e30988d26b7e393600149750534aaf6 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 21 May 2010 17:20:25 -0700 Subject: No longer need sudo for arp Have capability do that. --- templates/protocols/static/arp/node.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/protocols') diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def index 0174b24c..8bf88225 100644 --- a/templates/protocols/static/arp/node.def +++ b/templates/protocols/static/arp/node.def @@ -36,8 +36,8 @@ end: ipaddr=$VAR(@) hwaddr=$VAR(hwaddr/@) - sudo arp -d $ipaddr > /dev/null + arp -d $ipaddr > /dev/null if [ -n "$hwaddr" ]; then - sudo arp -s $ipaddr $hwaddr + arp -s $ipaddr $hwaddr fi exit 0 -- cgit v1.2.3