summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 15:51:22 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-10-24 15:51:22 -0700
commit9aae78f8dff2d6e26feeef01ba1cb64201039b77 (patch)
tree406f3ccc466723c48b8be077dfc0a730e62c40b9 /templates/show
parent388691e7df1d4c3eefed7a974a9c2591d1fafaf5 (diff)
downloadvyatta-op-9aae78f8dff2d6e26feeef01ba1cb64201039b77.tar.gz
vyatta-op-9aae78f8dff2d6e26feeef01ba1cb64201039b77.zip
Fix references to ethtool
Since ethtool is in /usr/sbin, it is not in the command search path of admin user, so a fully qualify path. Bugfix 3832
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/statistics/node.def3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/statistics/node.def b/templates/show/interfaces/ethernet/node.tag/statistics/node.def
index 0c66031..5414715 100644
--- a/templates/show/interfaces/ethernet/node.tag/statistics/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/statistics/node.def
@@ -1,4 +1,3 @@
help: Show physical device statistics for specified ethernet interface
allowed: ""
-run: ethtool -S "$4"
-
+run: /usr/sbin/ethtool -S "$4"