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