summaryrefslogtreecommitdiff
path: root/backend/modules
diff options
context:
space:
mode:
authorJoerg Schirottke <master@kanotix.com>2013-03-03 13:48:06 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-03-04 22:39:06 +0100
commit137ad9c2523853e4ecf153580bc6f6ee21c9a992 (patch)
treedaf401c0e16e2c94dea25f0d6192727515ef1e43 /backend/modules
parentab1f568adedeb3c851d4e071f7fb7eb469d369f0 (diff)
downloadacritoxinstaller-137ad9c2523853e4ecf153580bc6f6ee21c9a992.zip
acritoxinstaller-137ad9c2523853e4ecf153580bc6f6ee21c9a992.tar.gz
hotfix for live-boot 3.0
Diffstat (limited to 'backend/modules')
-rw-r--r--backend/modules/init1
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)"