summaryrefslogtreecommitdiffstats
path: root/remote/modules/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/systemd')
-rw-r--r--remote/modules/systemd/data/etc/systemd/system/udhcpc@.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service b/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service
index db67c6b6..611d0f98 100644
--- a/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service
+++ b/remote/modules/systemd/data/etc/systemd/system/udhcpc@.service
@@ -2,8 +2,10 @@
Description=DHCP Client
[Service]
-Type=simple
+Type=forking
+PIDFile=/run/udhcpc.%I.pid
ExecStart=/opt/openslx/bin/dhcp++ %I
+ExecStopPost=/bin/rm /run/udhcpc.%I.pid
[Install]
WantedBy=multi-user.target