summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live5
-rw-r--r--scripts/live-helpers2
2 files changed, 6 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 6080841..bd7d9c4 100755
--- a/scripts/live
+++ b/scripts/live
@@ -253,6 +253,11 @@ Arguments ()
export PERSISTENT
;;
+ persistent-encryption=*)
+ PERSISTENT_ENCRYPTION="${ARGUMENT#*=}"
+ export PERSISTENT_ENCRYPTION
+ ;;
+
persistent-media=*)
PERSISTENT_MEDIA="${ARGUMENT#*=}"
export PERSISTENT_MEDIA
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 73d9f9d..950bbda 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -328,7 +328,7 @@ find_cow_device ()
fi
# Checking for a luks device
- if [ "${PERSISTENT}" = "cryptsetup" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
+ if [ "${PERSISTENT_ENCRYPTION}" = "luks" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname}
then
while true
do