summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-28 20:43:15 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-28 20:43:15 +0200
commitfc3ceac0160db30d49d9b8bb2417934c9b399db4 (patch)
treed84b35bea5b80452414c8083798fa3e59516cd94 /src
parent3e7b8515cafb6f6e015c765021ecd38203d87a4d (diff)
downloadvyos-1x-fc3ceac0160db30d49d9b8bb2417934c9b399db4.tar.gz
vyos-1x-fc3ceac0160db30d49d9b8bb2417934c9b399db4.zip
dhclient: T2393: remove intermediate _DHCP helper class
The intermedite class only held the path to the configuration files - thus its existence was doubtworthy. For better readability and a clean inheritance graph that class has been dropped.
Diffstat (limited to 'src')
-rw-r--r--src/systemd/dhclient@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/dhclient@.service b/src/systemd/dhclient@.service
index c6f1e4be1..1040ce2b2 100644
--- a/src/systemd/dhclient@.service
+++ b/src/systemd/dhclient@.service
@@ -8,7 +8,7 @@ After=vyos-router.service
[Service]
WorkingDirectory=/run/dhclient
-Type=forking
+Type=exec
EnvironmentFile=-/run/dhclient/%i.options
PIDFile=/run/dhclient/%i.pid
ExecStart=/sbin/dhclient -4 $DHCLIENT_OPTS