Skip to content

Commit

Permalink
add key file and source to keyscript
Browse files Browse the repository at this point in the history
fixes void-linux#120

Signed-off-by: Martin Kjær Jørgensen <[email protected]>
  • Loading branch information
shaohme committed Jun 30, 2024
1 parent 2c71a88 commit 03c1e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypt.awk
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next }
}
if ( use_luks == "y" && makeswap != "y" ){
if ( use_keyscript == "y") {
ccmd=keyscript " | cryptsetup " luksopts commonopts "luksOpen -d - " src " " dest;
ccmd=keyscript " " key " " src " | cryptsetup " luksopts commonopts "luksOpen -d - " src " " dest;
use_keyscript="";
}
else {
Expand Down

0 comments on commit 03c1e5b

Please sign in to comment.