summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-interfaces10
1 files changed, 4 insertions, 6 deletions
diff --git a/scripts/vyatta-show-interfaces b/scripts/vyatta-show-interfaces
index 8be076f..b49dbf7 100755
--- a/scripts/vyatta-show-interfaces
+++ b/scripts/vyatta-show-interfaces
@@ -105,12 +105,10 @@ _show_itf_stats ()
_show_itf_physical ()
{
- if type -t ethtool &>/dev/null ; then
- for eth ; do
- sudo ethtool $eth
- echo
- done
- fi
+ for eth ; do
+ sudo /usr/sbin/ethtool $eth
+ echo
+ done
}
_usage ()