summaryrefslogtreecommitdiff
path: root/.local/bin/cryptusb
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/cryptusb')
-rwxr-xr-x.local/bin/cryptusb/mount-cryptusb2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/cryptusb/mount-cryptusb b/.local/bin/cryptusb/mount-cryptusb
index 882734c..ea44967 100755
--- a/.local/bin/cryptusb/mount-cryptusb
+++ b/.local/bin/cryptusb/mount-cryptusb
@@ -1,5 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2# Mounts LUKS encrypted USB 2# Mounts LUKS encrypted USB
3 3
4sudo cryptsetup open /dev/sdc cryptusb 4lsblk | grep -q "cryptusb" || sudo cryptsetup open /dev/sdc cryptusb
5sudo mount /dev/mapper/cryptusb /mnt/cryptusb 5sudo mount /dev/mapper/cryptusb /mnt/cryptusb