This is necessary when mounting /dev/nfs based on a DHCP lease.
This is similar to sd-login, but exposes the state of networkd rather than logind. Include it in libsystemd-dhcp and rename it to libsystemd-network.