diff options
Diffstat (limited to 'backend/modules/init')
-rw-r--r-- | backend/modules/init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/modules/init b/backend/modules/init index 5e3f28e..15e05b4 100644 --- a/backend/modules/init +++ b/backend/modules/init @@ -6,6 +6,7 @@ function init_installer() export FLL_DISTRO_MODE FLL_DISTRO_NAME FLL_LIVE_USER 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}') if [ -e /live/gfxoverlay.active ]; then mkdir -p /live/filesystem.main gfx="$(cat /live/gfxoverlay.active)" |