mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 21:50:17 +01:00
systemd's new network-online target abstracts the "wait until networking is up" stuff, and NM-wait-online implements that functionality. Thus NM-wait-online should be ordered before (and thus be a dependency of) network-online.
13 lines
281 B
SYSTEMD
13 lines
281 B
SYSTEMD
[Unit]
|
|
Description=Network Manager Wait Online
|
|
Requisite=NetworkManager.service
|
|
After=NetworkManager.service
|
|
Wants=network.target
|
|
Before=network.target network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@bindir@/nm-online -q --timeout=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|