summaryrefslogtreecommitdiffstats
path: root/core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service')
-rw-r--r--core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service b/core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service
new file mode 100644
index 00000000..68dc13f7
--- /dev/null
+++ b/core/modules/slx-network-configs-targets/data/etc/systemd/system/slx-wait-primary-dhcp.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Wait until DHCP for the primary NIC has finished
+Before=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-wait_primary_dhcp