From 5acda3eaeabae9045609539303a8c12c4ce401f1 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 25 Apr 2016 12:01:08 +0200 Subject: merge with latest dev version --- .../dhcpc-busybox/data/etc/systemd/system/dhcpc@.service | 1 + .../dhcpc-busybox/data/etc/systemd/system/udhcpc@.service | 10 ++++++++++ core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf | 1 + 3 files changed, 12 insertions(+) create mode 120000 core/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service create mode 100644 core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service create mode 100644 core/modules/dhcpc-busybox/data/etc/tmpfiles.d/udhcpc.conf (limited to 'core/modules/dhcpc-busybox/data/etc') 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 -- cgit v1.2.3-55-g7522