aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-02 15:16:22 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-02 15:16:22 +0200
commit0025f36938989750928753ff047320dccd9e3e27 (patch)
treefa29f4de45607d5a6fad3417a41d1b8620003ad1
parentdefaults/initrd.scripts: openLUKS(): Trigger module loading when mounting {ro... (diff)
downloadgenkernel-0025f36938989750928753ff047320dccd9e3e27.tar.gz
genkernel-0025f36938989750928753ff047320dccd9e3e27.tar.bz2
genkernel-0025f36938989750928753ff047320dccd9e3e27.zip
defaults/unlock-luks.sh: Synchronize style with openLUKS()
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rw-r--r--defaults/unlock-luks.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/defaults/unlock-luks.sh b/defaults/unlock-luks.sh
index 710d951..bf1deaa 100644
--- a/defaults/unlock-luks.sh
+++ b/defaults/unlock-luks.sh
@@ -43,8 +43,11 @@ main() {
exit 1
fi
- eval local LUKS_DEVICE='"${CRYPT_'${TYPE}'}"' LUKS_NAME="${NAME}" LUKS_KEY='"${CRYPT_KEYFILE_'${TYPE}'}"'
- eval local LUKS_TRIM='"${CRYPT_'${TYPE}'_TRIM}"' OPENED_LOCKFILE='"${CRYPT_'${TYPE}'_OPENED_LOCKFILE}"'
+ local LUKS_NAME="${NAME}"
+ eval local LUKS_DEVICE='"${CRYPT_'${TYPE}'}"'
+ eval local LUKS_KEY='"${CRYPT_'${TYPE}'_KEY}"'
+ eval local LUKS_TRIM='"${CRYPT_'${TYPE}'_TRIM}"'
+ eval local OPENED_LOCKFILE='"${CRYPT_'${TYPE}'_OPENED_LOCKFILE}"'
while true
do