Disable /entropy by default. /var/db/entropy should be enough.

# This eliminates the warning message at boot, but more work may be
# needed.
This commit is contained in:
Warner Losh 2015-12-07 04:02:42 +00:00
parent e221bf0bfe
commit 9e144f3552
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291916

View File

@ -489,9 +489,13 @@ setup_nanobsd_etc ( ) (
# create diskless marker file
touch etc/diskless
# Make root filesystem R/O by default
[ -n "${NANO_NOPRIV_BUILD}" ] && chmod 666 etc/defaults/rc.conf
# Make root filesystem R/O by default
echo "root_rw_mount=NO" >> etc/defaults/rc.conf
# Disable entropy file, since / is read-only /var/db/entropy should be enough?
echo "entropy_file=NO" >> etc/defaults/rc.conf
[ -n "${NANO_NOPRIV_BUILD}" ] && chmod 444 etc/defaults/rc.conf
# save config file for scripts