Bug#758798: ifupdown-extra: check-network-cable fails because of leading spaces

2016-02-05 Thread Steve Wray
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

Bug#758798: ifupdown-extra: check-network-cable fails because of leading spaces

2014-08-21 Thread ael
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"