From a6f58c215d5ef4ec65f1da0eef0eddaf74662175 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 6 Sep 2024 12:50:55 +0200 Subject: [dhcpc-busybox] bridging: Add another sleep for good measure --- .../data/opt/openslx/scripts/systemd-bridge_additional_nics | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics index 605e2e9d..f33a8445 100755 --- a/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics +++ b/core/modules/dhcpc-busybox/data/opt/openslx/scripts/systemd-bridge_additional_nics @@ -28,6 +28,9 @@ is_slave() { # end up either taking a device up as e.g. eth0 and prevent systemd # from renaming it, or end up missing a device as it will get renamed # just after the glob expanded. +# We already wait for udev trigger and settle, but that doesn't seem +# enough... +sleep .5 for nic in /sys/class/net/*; do ifname="${nic##*/}" # do not handle the primary interface -- cgit v1.2.3-55-g7522