From d42a74a362166b3a35ae566921039d50e14e8203 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 25 Feb 2008 17:15:22 -0800 Subject: Revert "no need for sudo when using ethtool" This reverts commit 3a58fd77b5bb8aaadd7219e756bbc4ae800d1022. --- templates/show/interfaces/ethernet/node.tag/physical/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def index 72341c5..98f0170 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: /usr/sbin/ethtool $4; /usr/sbin/ethtool -i $4 +run: sudo ${vyatta_bindir}/sudo-users/ethtool $4; sudo ${vyatta_bindir}/sudo-users/ethtool -i $4 -- cgit v1.2.3