aboutsummaryrefslogtreecommitdiff
path: root/init.d/mount-ro.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/mount-ro.in')
-rw-r--r--init.d/mount-ro.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index e39384a3..2fb83c0a 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -37,7 +37,7 @@ start()
fs="${fs}${fs:+|}${x}"
done
[ -n "${fs}" ] && fs="^(${fs})$"
- do_unmount "mount -n -o remount,ro" \
+ do_unmount "umount -r" \
--skip-point-regex "${m}" \
${fs:+--skip-fstype-regex} ${fs} --nonetdev
eoutdent