diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 14:59:18 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-03 15:01:42 -0800 |
commit | 3e10b84a227f60d17c661d30a28bbac3dd74871d (patch) | |
tree | f563c68a2246a4b9e2ccd0f93e546e654ca9f320 /templates/clear/arp/interface | |
parent | a18eacf13d1b159e9a4785ef0f76cfcfe3da5fee (diff) | |
download | vyatta-op-3e10b84a227f60d17c661d30a28bbac3dd74871d.tar.gz vyatta-op-3e10b84a227f60d17c661d30a28bbac3dd74871d.zip |
don't use sudo-users for ip commands
Use explicit path when running ip commands to flush cache etc,
since now this is allowed for operator by /etc/sudoers.
Diffstat (limited to 'templates/clear/arp/interface')
-rw-r--r-- | templates/clear/arp/interface/node.tag/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/clear/arp/interface/node.tag/node.def b/templates/clear/arp/interface/node.tag/node.def index ca17543..35e83a9 100644 --- a/templates/clear/arp/interface/node.tag/node.def +++ b/templates/clear/arp/interface/node.tag/node.def @@ -2,4 +2,4 @@ help: Clear ARP cache for interface allowed: local -a array ; array=( /sys/class/net/{eth,vmnet}* ) ; echo -n ${array[@]##*/} -run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev "$4" +run: sudo /sbin/ip neigh flush dev "$4" |