summaryrefslogtreecommitdiff
path: root/mount_crypt
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-10-09 20:44:15 +0100
committerPatrick Simianer <p@simianer.de>2014-10-09 20:44:15 +0100
commitca41eddfdc979955105cce572e659941544d6f6d (patch)
treebf446902e8323e58c6fc14dce808b9719da7d3f6 /mount_crypt
parent0aae427eb3838297f6e204c2961739ef834762cf (diff)
alles neu macht der mai
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/
+