correct shell sequence to open without tomb script

fix #372 thanks to @grcancelliere
This commit is contained in:
Jaromil 2021-06-24 07:36:50 +02:00
parent ce521ed2e2
commit b235f16ce4

View File

@ -160,10 +160,8 @@ following commands as root:
``` ```
lo=$(losetup -f) lo=$(losetup -f)
losetup -f secret.tomb losetup -f secret.tomb
pass="$(gpg -d secret.key)" gpg -d secret.key | head -c -1 | cryptsetup --key-file - luksOpen $lo secret
echo -n -e "$pass" | cryptsetup --key-file - luksOpen $lo secret
mount /dev/mapper/secret /mnt mount /dev/mapper/secret /mnt
unset pass
``` ```
One can change the last argument `/mnt` to where the Tomb has to be One can change the last argument `/mnt` to where the Tomb has to be
mounted and made accessible. To close the tomb then use: mounted and made accessible. To close the tomb then use: