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.