Add encrypted hard drive mounting script
This commit is contained in:
parent
a3bf938816
commit
dc68175a58
5
mount_drive
Executable file
5
mount_drive
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo cryptsetup luksOpen /dev/sda1 drive
|
||||||
|
|
||||||
|
sudo mount /dev/mapper/drive /media/hd
|
Loading…
Reference in New Issue
Block a user