Skip to content

Commit

Permalink
fix(crypt): decryption when rd.luks.name is set
Browse files Browse the repository at this point in the history
  • Loading branch information
LaszloGombos authored and pvalena committed Jun 28, 2024
1 parent 1bd8195 commit 6cb58e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90crypt/parse-crypt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ else
} >> "$hookdir/emergency/90-crypt.sh"
fi
done
elif getargbool 1 rd.auto; then
elif getargbool 1 rd.auto && [ -z "$(getargs rd.luks.name)" ]; then
if [ -z "$DRACUT_SYSTEMD" ]; then
{
printf -- 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="%s ' "$(command -v initqueue)"
Expand Down

0 comments on commit 6cb58e8

Please sign in to comment.