Merge branch 'vendor/OPENPAM'
[dragonfly.git] / initrd / etc / Makefile
1 ETC_SCRIPTS=    rc rc.lvm2 rcmount_crypt rcmount_tcplay
2 ETC_FILES=      ${.CURDIR}/motd \
3                 ${.CURDIR}/../../etc/group \
4                 ${.CURDIR}/../../etc/master.passwd \
5                 ${.CURDIR}/../../etc/protocols \
6                 ${.CURDIR}/../../etc/regdomain.xml \
7                 ${.CURDIR}/../../etc/wpa_supplicant.conf
8
9 FILES=          ${ETC_SCRIPTS} ${ETC_FILES}
10
11 .for file in ${ETC_SCRIPTS}
12 FILESDIR_${file}=       ${BINDIR}
13 FILESMODE_${file}=      555
14 .endfor
15
16 .for file in ${ETC_FILES}
17 FILESDIR_${file}=       ${BINDIR}
18 FILESMODE_${file}=      444
19 .endfor
20
21 afterinstall:
22         pwd_mkdb -d ${DESTDIR}${BINDIR} ${DESTDIR}${BINDIR}/master.passwd
23
24 .include <bsd.prog.mk>