+ # net stuff, ethtool
+ if exectest ethtool ; then
+ get_network_devices
+ for dev in "${niclist[@]}" ; do
+ ethtool "${dev}" > ethtool_"${dev}"
+ case "${dev}" in
+ "lo")
+ # skip the loopback device, `ethtool --driver lo` fails with:
+ # "Cannot get driver information: Operation not supported"
+ ;;
+ *)
+ ethtool --driver "${dev}" > ethtool_"${dev}_driver"
+ ;;
+ esac
+ done
+ fi
+