mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
configure_networking can now wait for a named net device, but the net device may be specified by hardware (MAC) address or not at all. * Factor out the hardware-address-to-device lookup into a function * Add a function to check whether any suitable device exists * Change the wait loop to use the appropriate check for device existence * Update the IP variable after the wait loop, so it follows the hardware-address-to-device lookup Closes: #911727 Signed-off-by: Ben Hutchings <benh@debian.org>