summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--liveinit.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index d0d8351..24ef790 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -1100,6 +1100,8 @@ if [ "$RESCUE" = "" ]; then
# Even without persistence, we need to be able to write to the partition
# if we are using a LUKS container file:
mount -o remount,rw /mnt/media
+ else
+ mount -o remount,ro /mnt/media
fi
fi