---
init | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/init b/init
index ee1123c..7b0c61b 100755
--- a/init
+++ b/init
@@ -79,9 +79,10 @@ udevadm settle --timeout=30
source_all pre-mount
echo "Trying to mount rootfs $root"
+rwopt="$(getarg rw)" || rwopt="ro"
[ -e "$root" ] || emergency_shell
ln -s "$root" /dev/root
-mount -o ro /dev/root $NEWROOT || emergency_shell
+mount -o $rwopt /dev/root $NEWROOT || emergency_shell
INIT=$(getarg init)
[ "$INIT" ] || {
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html