summaryrefslogtreecommitdiff
path: root/data
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
parentc5b7ea987a2e209bc553a89c340d0a208f926c71 (diff)
downloadvyos-1x-3e7b8515cafb6f6e015c765021ecd38203d87a4d.tar.gz
vyos-1x-3e7b8515cafb6f6e015c765021ecd38203d87a4d.zip
dhclient6: T2393: T2394: migrate from SysVinit to systemd
Diffstat (limited to 'data')
-rw-r--r--data/templates/dhcp-client/daemon-options.tmpl2
-rw-r--r--data/templates/dhcp-client/ipv6.tmpl2
2 files changed, 2 insertions, 2 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 }}"
diff --git a/data/templates/dhcp-client/ipv6.tmpl b/data/templates/dhcp-client/ipv6.tmpl
index 83db40c5f..be0235add 100644
--- a/data/templates/dhcp-client/ipv6.tmpl
+++ b/data/templates/dhcp-client/ipv6.tmpl
@@ -1,4 +1,4 @@
-# generated by ifconfig.py
+# generated by dhcp.py
interface "{{ ifname }}" {
request routers, domain-name-servers, domain-name;
}