diff options
author | phk <phk@FreeBSD.org> | 2007-06-05 11:17:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2007-06-05 11:17:45 +0000 |
commit | 65f1a6c8bafc8c5d1538aa98876fd9d26e1f7f1a (patch) | |
tree | 29b8dcb308307f560ca10b861f908595f69e4854 /tools | |
parent | 46af5f9d0c1dcbef70817f8c41fa1be2dbebf6e1 (diff) | |
download | FreeBSD-src-65f1a6c8bafc8c5d1538aa98876fd9d26e1f7f1a.zip FreeBSD-src-65f1a6c8bafc8c5d1538aa98876fd9d26e1f7f1a.tar.gz |
Default to R/O root filesystem
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/nanobsd/nanobsd.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |