summaryrefslogtreecommitdiff
path: root/.local/bin/cryptusb/mount-cryptusb
blob: ea44967f7a67ab4801e1f9b5ed079a1aab337ea0 (plain)
1
2
3
4
5
#!/bin/sh
# Mounts LUKS encrypted USB

lsblk | grep -q "cryptusb" || sudo cryptsetup open /dev/sdc cryptusb
sudo mount /dev/mapper/cryptusb /mnt/cryptusb