summaryrefslogtreecommitdiff
path: root/sys-boot/myinitramfs/files
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/myinitramfs/files')
-rwxr-xr-xsys-boot/myinitramfs/files/init.enc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-boot/myinitramfs/files/init.enc b/sys-boot/myinitramfs/files/init.enc
index cdb4ab0..1fea03a 100755
--- a/sys-boot/myinitramfs/files/init.enc
+++ b/sys-boot/myinitramfs/files/init.enc
@@ -85,7 +85,7 @@ root="$(blkid | awk -v uuid="UUID=\"$uuid\"" '$2 == uuid { gsub(/:$/,"",$1); pri
echo -e "${C_GREEN}Unlocking root...${C_NO}"
if command -v initramfs_password >/dev/null; then
busybox ash "$(command -v initramfs_password)" | \
- cryptsetup open --key-file=- "$root" encroot
+ cryptsetup open "$root" encroot
else
cryptsetup open "$root" encroot
fi || fail "Unlocking root failed! /proc/cmdline=$(cat /proc/cmdline)"