9990-select-eth-device.sh: check carrier, pick NIC
authorSteven Shiau <steven@stevenshiau.org>
Fri, 22 May 2020 12:00:43 +0000 (20:00 +0800)
committerSteven Shiau <steven@stevenshiau.org>
Fri, 22 May 2020 12:00:43 +0000 (20:00 +0800)
commite82ece9eb1d606a1479f02fd3ae4f46eb9bb0ded
treef1c172af0d3e68b556d028661715bb22a88553f6
parent24f24527072efedbdb4f689a0f5253534aa403e5
9990-select-eth-device.sh: check carrier, pick NIC

Improve the mechanism to check the carrier to pick from
multiple network interfaces. This is based on the patch from
Michal Zatloukal.
Ref: https://sourceforge.net/p/clonezilla/bugs/298/
components/9990-select-eth-device.sh