]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90crypt: 'crypto_LUKS' identifier corrected
authorAmadeusz Żołnowski <aidecoe@aidecoe.name>
Wed, 9 Jun 2010 08:40:31 +0000 (10:40 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 9 Jun 2010 09:04:02 +0000 (11:04 +0200)
modules.d/90crypt/check

index 07c53f9f704268f0dcae658dc534d175fb822c20..852695b4ad3498555fe842e30ad95301fca97a6e 100755 (executable)
@@ -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
 }