From 2d168db279c7635fa32f057523df291d1f016a86 Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 7 Nov 2022 01:27:00 +0100 Subject: [PATCH] Close luks partition --- mods/live-installer/data/bin/login | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/live-installer/data/bin/login b/mods/live-installer/data/bin/login index 1022212..051cc3f 100755 --- a/mods/live-installer/data/bin/login +++ b/mods/live-installer/data/bin/login @@ -212,6 +212,9 @@ $WDVN_ENCRYPT_PASS_ADD" | cryptsetup luksAddKey "$PART_DEV" rmdir "/media/install/efi" umount -l "/media/install" rmdir "/media/install" + if [ "$WDVN_ENCRYPT" == "y" ]; then + cryptsetup luksClose system + fi echo "" echo Success. Press ENTER to quit setup.