aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-02 21:56:35 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-02 21:56:35 +0200
commit076201c0214837e99bebf3a05a7b0f9727fbf751 (patch)
treebaaa8d35b5e7b31eb956b3dac149d39458ae2ff3 /defaults/unlock-luks.sh
parentgen_determineargs.sh: determine_real_args(): remove duplicated config overrid... (diff)
downloadgenkernel-076201c0214837e99bebf3a05a7b0f9727fbf751.tar.gz
genkernel-076201c0214837e99bebf3a05a7b0f9727fbf751.tar.bz2
genkernel-076201c0214837e99bebf3a05a7b0f9727fbf751.zip
defaults/unlock-luks.sh: Unbreak remote unlock using POST action
Fixes: 0025f3693 ("defaults/unlock-luks.sh: Synchronize style with openLUKS()") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'defaults/unlock-luks.sh')
-rw-r--r--defaults/unlock-luks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/unlock-luks.sh b/defaults/unlock-luks.sh
index bf1deaa..a8ae990 100644
--- a/defaults/unlock-luks.sh
+++ b/defaults/unlock-luks.sh
@@ -45,7 +45,7 @@ main() {
local LUKS_NAME="${NAME}"
eval local LUKS_DEVICE='"${CRYPT_'${TYPE}'}"'
- eval local LUKS_KEY='"${CRYPT_'${TYPE}'_KEY}"'
+ eval local LUKS_KEY='"${CRYPT_'${TYPE}'_KEYFILE}"'
eval local LUKS_TRIM='"${CRYPT_'${TYPE}'_TRIM}"'
eval local OPENED_LOCKFILE='"${CRYPT_'${TYPE}'_OPENED_LOCKFILE}"'