Scripts/mount_drive

6 lines
94 B
Bash
Executable File

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