summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 16:13:46 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 16:13:46 -0800
commit3a58fd77b5bb8aaadd7219e756bbc4ae800d1022 (patch)
treed18b52639471e860724ebeb57f55644e7f1dc60f
parentb2909211c50e8040f1538aa9062560f6640f88c1 (diff)
downloadvyatta-op-3a58fd77b5bb8aaadd7219e756bbc4ae800d1022.tar.gz
vyatta-op-3a58fd77b5bb8aaadd7219e756bbc4ae800d1022.zip
no need for sudo when using ethtool
No longer need sudo when doing ethtool commands to get status.
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def
index 98f0170..72341c5 100644
--- a/templates/show/interfaces/ethernet/node.tag/physical/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def
@@ -1,3 +1,3 @@
help: Show physical device information of given ethernet interface
allowed: ""
-run: sudo ${vyatta_bindir}/sudo-users/ethtool $4; sudo ${vyatta_bindir}/sudo-users/ethtool -i $4
+run: /usr/sbin/ethtool $4; /usr/sbin/ethtool -i $4