Default to R/O root filesystem

This commit is contained in:
phk 2007-06-05 11:17:45 +00:00
parent 46af5f9d0c
commit 65f1a6c8ba

View File

@ -265,6 +265,9 @@ setup_nanobsd_etc ( ) (
# create diskless marker file
touch etc/diskless
# Make root filesystem R/O by default
echo "root_rw_mount=NO" >> etc/defaults/rc.conf
# save config file for scripts
echo "NANO_DRIVE=${NANO_DRIVE}" > etc/nanobsd.conf