1 2 3 4 5
#!/bin/sh # Unmounts LUKS encrypted USB sudo umount /mnt/cryptusb sudo cryptsetup close cryptusb