summaryrefslogtreecommitdiff
path: root/data
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 /data
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 'data')
-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 8f995ab62..b5a10c3b8 100644
--- a/data/templates/dhcp-client/daemon-options.tmpl
+++ b/data/templates/dhcp-client/daemon-options.tmpl
@@ -1 +1 @@
-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 }}"
+DHCLIENT_OPTS="-nw -cf {{ conf_file }} -pf {{ pid_file }} -lf {{ lease_file }} {{ '-S' if dhcpv6_prm_only }} {{ '-T' if dhcpv6_temporary }} {{ ifname }}"