netcardconfig: switch from `ifconfig` to `ip link` for interface parsing [Closes...
authorMichael Prokop <mika@grml.org>
Tue, 23 Aug 2016 12:18:23 +0000 (14:18 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 23 Aug 2016 12:18:23 +0000 (14:18 +0200)
commit4fa68f7160e93e2e2d0ba27a2a7c1bb072a05c8f
tree3ab886bc94c973bdba9ce9e30748fb0188a9d381
parent38ab9757a11e2e52a42d7320b85aba4f0bafb462
netcardconfig: switch from `ifconfig` to `ip link` for interface parsing [Closes: issue2219]

Quoting from the bug report:

| ifconfig as of Debian stretch uses a different output format.
| This breaks enumeration of devices in netcardconfig line 576.

ifconfig isn't the state-of-the-art tool anyway, so switching
to ip(8) is an excellent idea. :)

Thanks: Jakob Haufe <sur5r@sur5r.net> for the bugreport and patch
sbin/netcardconfig