summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service')
-rw-r--r--core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
new file mode 100644
index 00000000..6c2061a0
--- /dev/null
+++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=DHCP Client for %i
+After=systemd-tmpfiles-setup.service
+
+[Service]
+Type=forking
+PIDFile=/run/udhcpc/udhcpc.%I.pid
+ExecStart=/opt/openslx/scripts/systemd-udhcpc++ %I
+ExecStopPost=/opt/openslx/bin/rm /run/udhcpc/udhcpc.%I.pid
+