summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox/data/etc
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/dhcpc-busybox/data/etc')
l---------core/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service1
-rw-r--r--core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service10
-rw-r--r--core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf1
3 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service
new file mode 120000
index 00000000..a2e7487d
--- /dev/null
+++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service
@@ -0,0 +1 @@
+udhcpc@.service \ No newline at end of file
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
+
diff --git a/core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf b/core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf
new file mode 100644
index 00000000..2b8ede25
--- /dev/null
+++ b/core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf
@@ -0,0 +1 @@
+d /run/udhcpc 0755 root root