diff options
author | Roy Marples <roy@marples.name> | 2007-05-11 08:57:47 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-05-11 08:57:47 +0000 |
commit | 7cdd8d4a0e2a5ef44df37e7879cb726aac45826d (patch) | |
tree | 2fd7e40490143cef94e23e83f5066eead1d30df3 | |
parent | 0888f74f473f3e4b83de5f04b0b4cbb4b8dbc7f9 (diff) |
Only mount ro on Linux
-rwxr-xr-x | init.d/halt.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/halt.sh b/init.d/halt.sh index eabc8980..701a56c6 100755 --- a/init.d/halt.sh +++ b/init.d/halt.sh @@ -53,7 +53,8 @@ fi unmounted=0 # Remount the remaining filesystems read-only -if [ "${RC_UNAME}" != "FreeBSD" ] ; then +# Most BSD's don't need this as the kernel handles it nicely +if [ "${RC_UNAME}" = "Linux" ] ; then ebegin "Remounting remaining filesystems read-only" # We need the do_unmount function . "${RC_LIBDIR}"/sh/rc-mount.sh |