summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-identify-interface.pl2
-rwxr-xr-xscripts/vyatta-show-interfaces2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-identify-interface.pl b/scripts/vyatta-identify-interface.pl
index 0170b68..1cfdb36 100755
--- a/scripts/vyatta-identify-interface.pl
+++ b/scripts/vyatta-identify-interface.pl
@@ -41,7 +41,7 @@ if ($cpid == 0) {
# child
print "Interface $intf should be blinking now.\n";
print "Press Enter to stop...\n";
- exec("/usr/sbin/ethtool -p $intf");
+ exec("/sbin/ethtool -p $intf");
# not reachable
exit 0;
} else {
diff --git a/scripts/vyatta-show-interfaces b/scripts/vyatta-show-interfaces
index b49dbf7..1b0a156 100755
--- a/scripts/vyatta-show-interfaces
+++ b/scripts/vyatta-show-interfaces
@@ -106,7 +106,7 @@ _show_itf_stats ()
_show_itf_physical ()
{
for eth ; do
- sudo /usr/sbin/ethtool $eth
+ /sbin/ethtool $eth
echo
done
}