summaryrefslogtreecommitdiff
path: root/mount_crypt
diff options
context:
space:
mode:
Diffstat (limited to 'mount_crypt')
-rwxr-xr-xmount_crypt8
1 files changed, 8 insertions, 0 deletions
diff --git a/mount_crypt b/mount_crypt
new file mode 100755
index 0000000..d4a6bc4
--- /dev/null
+++ b/mount_crypt
@@ -0,0 +1,8 @@
+#!/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/
+