Scripts/mount_drive

6 lines
94 B
Plaintext
Raw Normal View History

#!/bin/bash
sudo cryptsetup luksOpen /dev/sda1 drive
sudo mount /dev/mapper/drive /media/hd