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

6 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