Add encrypted hard drive mounting script

This commit is contained in:
Tyler Perkins 2023-11-25 18:09:44 -05:00
parent a3bf938816
commit dc68175a58
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

5
mount_drive Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
sudo cryptsetup luksOpen /dev/sda1 drive
sudo mount /dev/mapper/drive /media/hd