From 07b1f39497ce34c11845857ba0a7a727652d0979 Mon Sep 17 00:00:00 2001 From: "David S. Madole" Date: Mon, 9 Nov 2009 07:45:23 -0500 Subject: arp command for statics needs to be run under sudo --- templates/protocols/static/arp/node.def | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/protocols/static/arp/node.def b/templates/protocols/static/arp/node.def index cf028611..0174b24c 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/@) - arp -d $ipaddr > /dev/null + sudo arp -d $ipaddr > /dev/null if [ -n "$hwaddr" ]; then - arp -s $ipaddr $hwaddr + sudo arp -s $ipaddr $hwaddr fi - exit 0 \ No newline at end of file + exit 0 -- cgit v1.2.3