aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-01-14 02:14:59 +0100
committerTom Gundersen <teg@jklm.no>2012-01-14 02:14:59 +0100
commit5dd3fbaa93c157cfa37351324de06096f4377808 (patch)
tree11be11a90cc545bd94908de6b21818da6f19fdcd /rc.shutdown
parent748db5c108758fd1c54efb4fc3a2e18345646230 (diff)
downloadinitscripts-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-xrc.shutdown2
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