NetBSD/distrib/common/list.dhcpcd
roy ec4a0efb33 Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00

13 lines
489 B
Plaintext

# $NetBSD: list.dhcpcd,v 1.3 2014/09/12 20:42:13 roy Exp $
#
# list file (c.f. parselist.awk) for DHCP-enabled install media.
#
PROG sbin/dhcpcd
SPECIAL dhcpcd srcdir external/bsd/dhcpcd/sbin/dhcpcd
COPY ${DESTDIR}/etc/dhcpcd.conf etc/dhcpcd.conf
COPY ${DESTDIR}/libexec/dhcpcd-run-hooks libexec/dhcpcd-run-hooks 555
COPY ${DESTDIR}/libexec/dhcpcd-hooks/20-resolv.conf libexec/dhcpcd-hooks/20-resolv.conf
COPY ${DESTDIR}/libexec/dhcpcd-hooks/30-hostname libexec/dhcpcd-hooks/30-hostname