]> git.ipfire.org Git - thirdparty/dracut.git/commit
network: fix carrier detection
authorHarald Hoyer <harald@redhat.com>
Mon, 14 Dec 2015 12:10:05 +0000 (13:10 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 14 Dec 2015 15:16:00 +0000 (16:16 +0100)
commit17985b2575c10b488e7af2aeef160b41a97b2358
tree1595ae80a195a50aa820b5b1fb930bcaf06d97dd
parent2f20797a40104bfa133e7e5bfcf2d916b34413e5
network: fix carrier detection

rename iface_has_link() to iface_has_carrier() to clarify usage

Only assign static "wildcard interface" settings, if the interface has a
carrier.

If the interface name was specified with a name, do not do carrier
checking for static configurations.

(cherry picked from commit df95b1003c8e7564da73de92403013763eb028fe)
modules.d/40network/ifup.sh
modules.d/40network/net-lib.sh