From 5dd3fbaa93c157cfa37351324de06096f4377808 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 14 Jan 2012 02:14:59 +0100 Subject: mount: no longer pass '-n' to mount This was needed when /etc/mtab was a regular file in order to avoid writing to it when /etc/ was mounted ro. However, now it is not needed. Passing -n should have been a noop, except for the NILFS mount helper. It will only start the daemon if the -n flag is not passed. This fixes FS#22523. Tested-by: Alexander Lam Signed-off-by: Tom Gundersen --- rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index 4b513f7..54a1e9a 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -123,7 +123,7 @@ if [[ -x /run/initramfs/shutdown ]]; then else status "Remounting Root Filesystem Read-only" \ - mount -n -o remount,ro / + mount -o remount,ro / # Power off or reboot printsep -- cgit v1.2.3