From 65f1a6c8bafc8c5d1538aa98876fd9d26e1f7f1a Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 5 Jun 2007 11:17:45 +0000 Subject: Default to R/O root filesystem --- tools/tools/nanobsd/nanobsd.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 98b2df7..42e6e26 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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 -- cgit v1.1