Hi, network-manager does not block during boot until a network connection is established contrary to ifupdown.
Letting the network-manager sysv init script provide $network would be wrong because of that, because network-manager being started doesn't mean a network connection is available. network-manager ships a tool called nm-online, which blocks until a network connection has been established (or an optional timeout is reached). This tool is used in /lib/systemd/system/NetworkManager-wait-online.service: [Unit] Description=Network Manager Wait Online Requisite=NetworkManager.service After=NetworkManager.service Wants=network.target Before=network.target [Service] Type=oneshot ExecStart=/usr/bin/nm-online -q --timeout=30 [Install] WantedBy=network.target This systemd service is not activated by default, as it is only a hack/workaround for broken software which can't handle dynamically changing networks. A similar service could be written for sysv. Such a service could have a provides: $network. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

