mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
If wait_operstate() is called super quickly after ip command, then the up/down state may not be changed and propagated to networkd, and wait_operstate() mistakenly pass with the previous state. To avoid such situation, wait for a while to make networkd actually detect the interface brought up/down.