summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xliveinit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index c47c107..8f8bf18 100755
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -1327,7 +1327,7 @@ EOT
echo 0x0100 > /proc/sys/kernel/real-root-dev
# Re-mount the overlay read-only:
- mount -t overlay -o remount,ro,workdir=${OVLWORK},upperdir=${UPPERDIR},lowerdir=${RODIRS} overlay /mnt/overlay
+ mount -o remount,ro /mnt/overlay 2>/dev/null
if [ ! -r /mnt/overlay/${INIT} ]; then
echo "ERROR: No ${INIT} found on rootdev (or not mounted). Trouble ahead."