mirror of
https://github.com/systemd/systemd.git
synced 2026-07-16 12:30:23 +00: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.