I'm surprised this still isn't fixed; on a Debian stable (Jessie/8) system
with ethtool installed, /etc/network/routes does not work and I traced the
problem to the 00check-network-cable script having a bug relative to
ethtool.
If ethtool is installed 00check-network-cable tries to run it, generat
Package: ifupdown-extra
Version: 0.25
Severity: normal
Tags: patch
The line in check_status_ethtool():
local LINK=$($ETHTOOL "$IFACE" 2>&1 | grep "Link detected" || :)
fails because ethtool has leading spaces.
A simple fix is to quote:
local LINK="$($ETHTOOL "$IFACE" 2>&1 | grep "Link detected"
2 matches
Mail list logo