Lines 575-582
setup_nanobsd_etc ( ) (
Link Here
|
575 |
|
575 |
|
576 |
# Make root filesystem R/O by default |
576 |
# Make root filesystem R/O by default |
577 |
echo "root_rw_mount=NO" >> etc/defaults/rc.conf |
577 |
echo "root_rw_mount=NO" >> etc/defaults/rc.conf |
578 |
# Disable entropy file, since / is read-only /var/db/entropy should be enough? |
578 |
# Disable boot-time setting of hostuuid, since / is read-only |
|
|
579 |
echo "hostuuid_load=NO" >> boot/defaults/loader.conf |
580 |
# Disable entropy files, since / is read-only - /var/db/entropy should be enough? |
581 |
echo "entropy_cache_load=NO" >> boot/defaults/loader.conf |
582 |
echo "entropy_boot_file=NO" >> etc/defaults/rc.conf |
579 |
echo "entropy_file=NO" >> etc/defaults/rc.conf |
583 |
echo "entropy_file=NO" >> etc/defaults/rc.conf |
|
|
584 |
echo "entropy_dir=NO" >> etc/defaults/rc.conf |
580 |
|
585 |
|
581 |
[ -n "${NANO_NOPRIV_BUILD}" ] && chmod 444 etc/defaults/rc.conf |
586 |
[ -n "${NANO_NOPRIV_BUILD}" ] && chmod 444 etc/defaults/rc.conf |
582 |
|
587 |
|
583 |
- |
|
|