#!/bin/sh # Mounts LUKS encrypted USB lsblk | grep -q "cryptusb" || sudo cryptsetup open /dev/sdc cryptusb sudo mount /dev/mapper/cryptusb /mnt/cryptusb