summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/daemon-options.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-28 20:05:20 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-28 20:15:37 +0200
commit3e7b8515cafb6f6e015c765021ecd38203d87a4d (patch)
tree2a8546caae39d854ae02504c5d594ebaf0111618 /data/templates/dhcp-client/daemon-options.tmpl
parentc5b7ea987a2e209bc553a89c340d0a208f926c71 (diff)
downloadvyos-1x-3e7b8515cafb6f6e015c765021ecd38203d87a4d.tar.gz
vyos-1x-3e7b8515cafb6f6e015c765021ecd38203d87a4d.zip
dhclient6: T2393: T2394: migrate from SysVinit to systemd
Diffstat (limited to 'data/templates/dhcp-client/daemon-options.tmpl')
-rw-r--r--data/templates/dhcp-client/daemon-options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp-client/daemon-options.tmpl b/data/templates/dhcp-client/daemon-options.tmpl
index ec74a4234..8f995ab62 100644
--- a/data/templates/dhcp-client/daemon-options.tmpl
+++ b/data/templates/dhcp-client/daemon-options.tmpl
@@ -1 +1 @@
-DHCLIENT_OPTS="-nw -cf /run/dhclient/{{ ifname }}.conf -pf /run/dhclient/{{ ifname }}.pid -lf /run/dhclient/{{ ifname }}.leases {{ ifname }}"
+DHCLIENT_OPTS="-nw -cf {{ config_path }}/{{ ifname }}.conf -pf {{ config_path }}/{{ ifname }}.pid -lf {{ config_path }}/{{ ifname }}.leases {{ '-S' if dhcpv6_prm_only }} {{ '-T' if dhcpv6_temporary }} {{ ifname }}"