mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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:
parent
e221bf0bfe
commit
9e144f3552
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue