diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/cryptusb/mount-cryptusb | 2 |
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 | ||
4 | sudo cryptsetup open /dev/sdc cryptusb | 4 | lsblk | grep -q "cryptusb" || sudo cryptsetup open /dev/sdc cryptusb |
5 | sudo mount /dev/mapper/cryptusb /mnt/cryptusb | 5 | sudo mount /dev/mapper/cryptusb /mnt/cryptusb |