summaryrefslogtreecommitdiffstats
path: root/modules.d/35network-manager/nm-wait-online-initrd.service
blob: ac8762a1931a5c4046b86657efda4c6167d43ce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
DefaultDependencies=no
Requires=nm-initrd.service
After=nm-initrd.service
Before=network-online.target
Before=dracut-initqueue.service
ConditionPathExists=/run/NetworkManager/initrd/neednet

[Service]
Type=oneshot
ExecStart=/usr/bin/nm-online -s -q -t 3600
RemainAfterExit=yes

[Install]
WantedBy=initrd.target
WantedBy=network-online.target