From 2c1bf062cbdeecd1e35cdeab4d661b382d490200 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 17 Jan 2019 16:21:42 +0100 Subject: liveinit: clean up that remount command --- liveinit.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liveinit.tpl') 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." -- cgit v1.2.3