From 42e6a95b1d691b2fcdb49cd57f8ae94acbe27a2c Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 4 Nov 2008 11:30:15 +0000 Subject: Move romount to mount-ro and use the umount -r option as it's more reliable for / --bind mounts, Gentoo #239922. Thanks to Duncan. --- init.d/mount-ro.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.d/mount-ro.in') 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 -- cgit v1.2.3