Move fbtab, login.conf, and motd to usr.bin/login/
Approved by: Approved by: re (gjb), bapt (mentor), will (mentor) Differential Revision: https://reviews.freebsd.org/D16947
This commit is contained in:
parent
6830111909
commit
d3b764acc6
@ -15,7 +15,6 @@ SUBDIR+=sendmail
|
||||
BIN1= crontab \
|
||||
dhclient.conf \
|
||||
disktab \
|
||||
fbtab \
|
||||
gettytab \
|
||||
group \
|
||||
hosts \
|
||||
@ -24,9 +23,7 @@ BIN1= crontab \
|
||||
libalias.conf \
|
||||
libmap.conf \
|
||||
login.access \
|
||||
login.conf \
|
||||
mac.conf \
|
||||
motd \
|
||||
netconfig \
|
||||
networks \
|
||||
nsswitch.conf \
|
||||
@ -117,7 +114,6 @@ distribution:
|
||||
cd ${.CURDIR}; \
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||
${BIN1} ${DESTDIR}/etc; \
|
||||
cap_mkdb ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf; \
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
|
||||
|
||||
@ -127,7 +123,6 @@ distribution:
|
||||
pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd
|
||||
.if defined(NO_ROOT)
|
||||
( \
|
||||
echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel"; \
|
||||
echo "./etc/passwd type=file mode=0644 uname=root gname=wheel"; \
|
||||
echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \
|
||||
echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
CONFS= fbtab login.conf motd
|
||||
PROG= login
|
||||
SRCS= login.c login_fbtab.c
|
||||
CFLAGS+=-DLOGALL
|
||||
@ -22,4 +23,12 @@ BINMODE=4555
|
||||
PRECIOUSPROG=
|
||||
.endif
|
||||
|
||||
.include <bsd.endian.mk>
|
||||
afterinstallconfig:
|
||||
cap_mkdb ${CAP_MKDB_ENDIAN} ${DESTDIR}/etc/login.conf
|
||||
.if defined(NO_ROOT) && defined(METALOG)
|
||||
echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel" | \
|
||||
cat -l >> ${METALOG}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user