Install a copy of dhcpcd.conf under /usr/share/examples

Addresses PR bin/57487 from Taylor R Campbell.
This commit is contained in:
gutteridge 2023-07-05 00:26:38 +00:00
parent 63e7bd933c
commit 00faf7a9a7
3 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.224 2022/10/14 19:43:35 ryo Exp $
# $NetBSD: mi,v 1.225 2023/07/05 00:26:38 gutteridge Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -1368,6 +1368,7 @@
./usr/share/examples/atf/tests-results.css misc-atf-examples share,atf,!kyua
./usr/share/examples/atf/tests-results.css misc-obsolete share,kyua,obsolete
./usr/share/examples/dhcp/dhcpd.conf misc-dhcpd-examples share
./usr/share/examples/dhcpcd/dhcpcd.conf misc-dhcpcd-examples share
./usr/share/examples/dhcpcd/hooks/10-wpa_supplicant misc-dhcpcd-examples share
./usr/share/examples/dhcpcd/hooks/15-timezone misc-dhcpcd-examples share
./usr/share/examples/dhcpcd/hooks/29-lookup-hostname misc-dhcpcd-examples share

View File

@ -1,5 +1,5 @@
# $NetBSD: Makefile,v 1.1 2017/04/02 20:18:37 roy Exp $
# $NetBSD: Makefile,v 1.2 2023/07/05 00:26:38 gutteridge Exp $
SUBDIR= hooks
SUBDIR= conf hooks
.include <bsd.subdir.mk>

View File

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2023/07/05 00:26:38 gutteridge Exp $
.include <bsd.own.mk>
.include "../../Makefile.inc"
.PATH: ${DIST}/src
.if ${MKSHARE} != "no"
FILES= dhcpcd.conf
FILESDIR= /usr/share/examples/dhcpcd/
.endif
.include <bsd.prog.mk>