summaryrefslogtreecommitdiffstats
path: root/core/modules/dhcpc-busybox/data/etc/systemd
diff options
context:
space:
mode:
authorSimon Rettberg2021-07-16 17:27:59 +0200
committerSimon Rettberg2021-07-16 17:27:59 +0200
commitc29500c7b461603790126f7591fcb6dc3b9634e7 (patch)
tree274f978a440628cef0c6bbbdc4656e74c4686263 /core/modules/dhcpc-busybox/data/etc/systemd
parent[vmware-common] fix english (diff)
downloadmltk-c29500c7b461603790126f7591fcb6dc3b9634e7.tar.gz
mltk-c29500c7b461603790126f7591fcb6dc3b9634e7.tar.xz
mltk-c29500c7b461603790126f7591fcb6dc3b9634e7.zip
[dhcpc-busybox] Add option to ignore secondary interfaces, improve
.... resolv.conf awk generator
Diffstat (limited to 'core/modules/dhcpc-busybox/data/etc/systemd')
-rw-r--r--core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
index d797dd4b..cfab7923 100644
--- a/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
+++ b/core/modules/dhcpc-busybox/data/etc/systemd/system/udhcpc@.service
@@ -3,8 +3,7 @@ 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
+Type=simple
+ExecStart=/opt/openslx/scripts/systemd-udhcpc %i
+Restart=on-failure