scripts/umount-luks

6 lines
127 B
Plaintext
Raw Normal View History

2022-12-26 14:20:37 +01:00
#!/bin/sh
# unmount the decrypted drive and close/encypt it again
sudo umount /dev/mapper/luks
sudo cryptsetup luksClose luks