summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/modules/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/modules/init b/backend/modules/init
index 15e05b4..501cf30 100644
--- a/backend/modules/init
+++ b/backend/modules/init
@@ -7,6 +7,7 @@ function init_installer()
mkdir -p /live/filesystem
LOOPDEV="$(losetup --all | awk -F: '/\/live\/image\//&&/filesystem/{print $1}')"
[ -z "$LOOPDEV" ] && LOOPDEV=$(losetup --all | awk -F: '/\/live\/medium\//&&/filesystem/{print $1}')
+ [ -z "$LOOPDEV" ] && LOOPDEV=$(losetup --all | awk -F: '/\/live\/mount\/medium\//&&/filesystem/{print $1}')
if [ -e /live/gfxoverlay.active ]; then
mkdir -p /live/filesystem.main
gfx="$(cat /live/gfxoverlay.active)"