scripts/umount-luks
2022-12-26 14:20:37 +01:00

5 lines
127 B
Bash
Executable file

#!/bin/sh
# unmount the decrypted drive and close/encypt it again
sudo umount /dev/mapper/luks
sudo cryptsetup luksClose luks