Better handle the recent (desirable) change to create login.conf.db at
install time, and make sure to catch any future .db files as well.
This commit is contained in:
parent
ee844411e9
commit
40a392599f
@ -554,11 +554,11 @@ case "${RERUN}" in
|
||||
;; # End of the "RERUN" test
|
||||
esac
|
||||
|
||||
# We really don't want to have to deal with these files, since
|
||||
# master.passwd is the real file that should be compared, then
|
||||
# the user should run pwd_mkdb if necessary.
|
||||
# We really don't want to have to deal with files like login.conf.db, pwd.db,
|
||||
# or spwd.db. Instead, we want to compare the text versions, and run *_mkdb.
|
||||
# Prompt the user to do so below, as needed.
|
||||
#
|
||||
rm -f ${TEMPROOT}/etc/spwd.db ${TEMPROOT}/etc/passwd ${TEMPROOT}/etc/pwd.db
|
||||
rm -f ${TEMPROOT}/etc/*.db
|
||||
|
||||
# We only need to compare things like freebsd.cf once
|
||||
find ${TEMPROOT}/usr/obj -type f -delete 2>/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user