Only mount ro on Linux

This commit is contained in:
Roy Marples 2007-05-11 08:57:47 +00:00
parent 0888f74f47
commit 7cdd8d4a0e

View File

@ -53,7 +53,8 @@ fi
unmounted=0 unmounted=0
# Remount the remaining filesystems read-only # 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" ebegin "Remounting remaining filesystems read-only"
# We need the do_unmount function # We need the do_unmount function
. "${RC_LIBDIR}"/sh/rc-mount.sh . "${RC_LIBDIR}"/sh/rc-mount.sh