summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox/data/etc
diff options
context:
space:
mode:
authorSebastian2016-04-25 12:01:08 +0200
committerSebastian2016-04-25 12:01:08 +0200
commit5acda3eaeabae9045609539303a8c12c4ce401f1 (patch)
tree7e71975f8570b05aafe2ea6ec0e242a8912387bb /core/modules/dhcpc-busybox/data/etc
parentinitial commit (diff)
downloadmltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.gz
mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.tar.xz
mltk-5acda3eaeabae9045609539303a8c12c4ce401f1.zip
merge with latest dev version
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