diff options
author | Tom Gundersen <teg@jklm.no> | 2012-01-14 02:14:59 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-01-14 02:14:59 +0100 |
commit | 5dd3fbaa93c157cfa37351324de06096f4377808 (patch) | |
tree | 11be11a90cc545bd94908de6b21818da6f19fdcd /rc.shutdown | |
parent | 748db5c108758fd1c54efb4fc3a2e18345646230 (diff) | |
download | initscripts-5dd3fbaa93c157cfa37351324de06096f4377808.tar.xz |
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 <lambchop468@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
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 |