diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-21 17:20:25 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-05-21 17:20:25 -0700 |
commit | d1627b367e30988d26b7e393600149750534aaf6 (patch) | |
tree | 7c3991d8e689b032e771b885a132b3fdc2328ded /templates/protocols/static | |
parent | 60fb7bb1025d25606efc00b4f3f9505e17efe1e0 (diff) | |
download | vyatta-cfg-quagga-d1627b367e30988d26b7e393600149750534aaf6.tar.gz vyatta-cfg-quagga-d1627b367e30988d26b7e393600149750534aaf6.zip |
No longer need sudo for arp
Have capability do that.
Diffstat (limited to 'templates/protocols/static')
-rw-r--r-- | templates/protocols/static/arp/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
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 |