Only mount ro on Linux
This commit is contained in:
parent
0888f74f47
commit
7cdd8d4a0e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user