aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-12-13 22:10:14 +0100
committerTom Gundersen <teg@jklm.no>2011-12-13 22:10:14 +0100
commitb420829c5fe4441038c125789b1dd3eafb61457c (patch)
treec733db3a722e7b1a98a63d11d28d274e4f0b9530
parent7c7d7f258aec089afa02677605dfd054a3af2ed8 (diff)
downloadinitscripts-b420829c5fe4441038c125789b1dd3eafb61457c.tar.xz
allow ro root
We no longer force root to be rw, but follow what is set in fstab. Things might not work well if root is mounted ro, but now we at least have the possibility of chasing down problems elsewhere. This implements FS#9384. Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xrc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.sysinit b/rc.sysinit
index 72981f6..9d56c9f 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -195,8 +195,8 @@ run_hook sysinit_postfsck
# Single-user login and/or automatic reboot if needed
fsck_reboot $fsckret
-status "Remounting Root Read/Write" \
- mount -n -o remount,rw /
+status "Remounting Root" \
+ mount -n -o remount /
# force linkage of /etc/mtab to the kernel
[[ -L /etc/mtab ]] || ln -sf /proc/self/mounts /etc/mtab