diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2018-10-18 16:05:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-18 23:26:35 +0100 |
commit | c7b93f53e0f76c73e297ceef4324fbe25e1d8faa (patch) | |
tree | 565eef6a4bb6a6813af217ab8a89b8af253e4cd0 /meta/recipes-connectivity/dhcp/files | |
parent | 41081ca0eeb0e62829a6af5fb9d2876904832a2f (diff) | |
download | poky-c7b93f53e0f76c73e297ceef4324fbe25e1d8faa.tar.gz |
dhcp: use config file dhcpd6.conf in dhcpd6.service for DHCP IPv6
Use dhcpd6.conf for DHCP IPv6 and dhpcd.conf for DHCP IPv4.
(From OE-Core rev: 0772ed9acf96c53b05e6ac19e1af78bbb1192a3b)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/files')
-rw-r--r-- | meta/recipes-connectivity/dhcp/files/dhcpd6.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd6.service b/meta/recipes-connectivity/dhcp/files/dhcpd6.service index ca96abb838..52a6224dc2 100644 --- a/meta/recipes-connectivity/dhcp/files/dhcpd6.service +++ b/meta/recipes-connectivity/dhcp/files/dhcpd6.service | |||
@@ -9,7 +9,7 @@ PIDFile=@localstatedir@/run/dhcpd6.pid | |||
9 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-server | 9 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-server |
10 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/dhcpd6 | 10 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/dhcpd6 |
11 | ExecStartPre=@base_bindir@/touch @localstatedir@/lib/dhcp/dhcpd6.leases | 11 | ExecStartPre=@base_bindir@/touch @localstatedir@/lib/dhcp/dhcpd6.leases |
12 | ExecStart=@SBINDIR@/dhcpd -f -6 -cf @SYSCONFDIR@/dhcp/dhcpd.conf -pf @localstatedir@/run/dhcpd6.pid $DHCPDARGS -q $INTERFACES | 12 | ExecStart=@SBINDIR@/dhcpd -f -6 -cf @SYSCONFDIR@/dhcp/dhcpd6.conf -pf @localstatedir@/run/dhcpd6.pid $DHCPDARGS -q $INTERFACES |
13 | 13 | ||
14 | [Install] | 14 | [Install] |
15 | WantedBy=multi-user.target | 15 | WantedBy=multi-user.target |