Close luks partition

This commit is contained in:
Fierelier 2022-11-07 01:27:00 +01:00
parent c964e960ef
commit 2d168db279

View File

@ -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.