summaryrefslogtreecommitdiffstats
path: root/remote/modules/dhcpc-busybox/data/etc/systemd/system
diff options
context:
space:
mode:
authorSimon Rettberg2014-01-29 21:10:04 +0100
committerSimon Rettberg2014-01-29 21:10:04 +0100
commitb77ffba65617c4001e85a31dc9673d0abe481fb8 (patch)
tree40033a4e82cc9e8e3b13889c4aec3aa5f1acd3ee /remote/modules/dhcpc-busybox/data/etc/systemd/system
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.tar.gz
tm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.tar.xz
tm-scripts-b77ffba65617c4001e85a31dc9673d0abe481fb8.zip
<stage32> Trigger network target as soon as possible if network/dhcp has been done in stage31
Diffstat (limited to 'remote/modules/dhcpc-busybox/data/etc/systemd/system')
l---------remote/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service1
l---------remote/modules/dhcpc-busybox/data/etc/systemd/system/sysinit.target.wants/udhcpc@br0.service1
-rw-r--r--remote/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service7
3 files changed, 3 insertions, 6 deletions
diff --git a/remote/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service b/remote/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service
new file mode 120000
index 00000000..a2e7487d
--- /dev/null
+++ b/remote/modules/dhcpc-busybox/data/etc/systemd/system/dhcpc@.service
@@ -0,0 +1 @@
+udhcpc@.service \ No newline at end of file
diff --git a/remote/modules/dhcpc-busybox/data/etc/systemd/system/sysinit.target.wants/udhcpc@br0.service b/remote/modules/dhcpc-busybox/data/etc/systemd/system/sysinit.target.wants/udhcpc@br0.service
deleted file mode 120000
index dff66b14..00000000
--- a/remote/modules/dhcpc-busybox/data/etc/systemd/system/sysinit.target.wants/udhcpc@br0.service
+++ /dev/null
@@ -1 +0,0 @@
-../udhcpc@.service \ No newline at end of file
diff --git a/remote/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service b/remote/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
index 6547de5b..9226f00c 100644
--- a/remote/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
+++ b/remote/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
@@ -1,7 +1,6 @@
[Unit]
-Description=DHCP Client
-DefaultDependencies=no
-Before=sysinit.target
+Description=DHCP Client for %i
+After=systemd-tmpfiles-setup.service
[Service]
Type=forking
@@ -9,5 +8,3 @@ PIDFile=/run/udhcpc/udhcpc.%I.pid
ExecStart=/opt/openslx/scripts/systemd-udhcpc++ %I
ExecStopPost=/bin/rm /run/udhcpc/udhcpc.%I.pid
-[Install]
-WantedBy=multi-user.target