summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-28 19:24:53 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-28 19:24:53 +0200
commitc5b7ea987a2e209bc553a89c340d0a208f926c71 (patch)
treeac3c91bad163868f4246980915b9d240edae9b6d /data
parent867a0b71acc3f1cbbcfad553952bdbc82070ae4b (diff)
downloadvyos-1x-c5b7ea987a2e209bc553a89c340d0a208f926c71.tar.gz
vyos-1x-c5b7ea987a2e209bc553a89c340d0a208f926c71.zip
dhclient: T2393: migrate from SysVinit to systemd
Diffstat (limited to 'data')
-rw-r--r--data/templates/dhcp-client/daemon-options.tmpl1
-rw-r--r--data/templates/dhcp-client/ipv4.tmpl2
2 files changed, 2 insertions, 1 deletions
diff --git a/data/templates/dhcp-client/daemon-options.tmpl b/data/templates/dhcp-client/daemon-options.tmpl
new file mode 100644
index 000000000..ec74a4234
--- /dev/null
+++ b/data/templates/dhcp-client/daemon-options.tmpl
@@ -0,0 +1 @@
+DHCLIENT_OPTS="-nw -cf /run/dhclient/{{ ifname }}.conf -pf /run/dhclient/{{ ifname }}.pid -lf /run/dhclient/{{ ifname }}.leases {{ ifname }}"
diff --git a/data/templates/dhcp-client/ipv4.tmpl b/data/templates/dhcp-client/ipv4.tmpl
index 43f273077..ab772b5f6 100644
--- a/data/templates/dhcp-client/ipv4.tmpl
+++ b/data/templates/dhcp-client/ipv4.tmpl
@@ -1,4 +1,4 @@
-# generated by ifconfig.py
+# generated by dhcp.py
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
timeout 60;
retry 300;