scripts not needed anymore, card is dead, photos are elsewhere

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-24 12:10:39 +01:00
parent f586fc390b
commit 2e2b9242cf
2 changed files with 0 additions and 15 deletions

View file

@ -1,12 +0,0 @@
#!/bin/sh -ex
dev=/dev/sdc3
#dev=/dev/disk/by-id/usb-APPLE_SD_Card_Reader_000000000310-0:0-part3
name=photos
dev_plain=/dev/mapper/photos
key=/home/users/nico/privat/rechner/eigene/brief-macbook-air/sd-karte
cryptsetup --key-file "$key" luksOpen "$dev" "$name"
fsck "$dev_plain"
mount "$dev_plain"

View file

@ -1,3 +0,0 @@
umount /dev/mapper/photos
cryptsetup luksClose photos