summaryrefslogtreecommitdiffstats
path: root/modules.d/01systemd-networkd/99-wait-online-dracut.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules.d/01systemd-networkd/99-wait-online-dracut.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules.d/01systemd-networkd/99-wait-online-dracut.conf b/modules.d/01systemd-networkd/99-wait-online-dracut.conf
new file mode 100644
index 0000000..da90596
--- /dev/null
+++ b/modules.d/01systemd-networkd/99-wait-online-dracut.conf
@@ -0,0 +1,9 @@
+[Unit]
+Before=dracut-initqueue.service
+ConditionPathExists=/run/networkd/initrd/neednet
+
+[Service]
+TimeoutStartSec=120
+
+[Install]
+WantedBy=initrd.target