X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=d5ad29f6bc9be6ee410ddf55b9d25fd67cb24482;hb=refs%2Ftags%2Fdebian%2F1.157.3-1;hp=35fb8cf81cbdb98d0f8caf42e336365bbc3900ef;hpb=81f5b4978b7062df5193871c1087419dce294991;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index 35fb8cf..d5ad29f 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -328,7 +328,7 @@ find_cow_device () fi # Checking for a luks device - if [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname} + if [ "${PERSISTENT}" = "cryptsetup" ] && [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname} then while true do @@ -367,7 +367,7 @@ find_cow_device () then # do not mount the device to find for image files # just skip this - break + continue fi case "$(get_fstype ${devname})" in