On 06/09/2010 11:04 AM, Amadeusz Żołnowski wrote:
--- modules.d/90crypt/check | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules.d/90crypt/check b/modules.d/90crypt/check index 07c53f9..7ba499a 100755 --- a/modules.d/90crypt/check +++ b/modules.d/90crypt/check @@ -19,7 +19,7 @@ is_crypt() { [[ $(get_fs_type /dev/block/$1) = crypto_LUKS ]]; } check_block_and_slaves is_crypt "$rootdev" || exit 1 else # root is not on a block device, use the shotgun approach - blkid | grep -q crypt_LUKS || exit 1 + blkid | grep -q 'crypto\?_LUKS' || exit 1 fi }
pushed -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html