summaryrefslogtreecommitdiff
path: root/mount-crypt
blob: 9c86163d78788142d31f1fe063c9f5e68f67d29c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash


. /home/pks/bin/func.zsh
check_root

cryptsetup luksOpen /dev/disk/by-id/scsi-SATA_WDC_WD1002FAEX-_WD-WCAW32441082-part1 remote_backup
mount /dev/mapper/remote_backup /mnt/