scripts not needed anymore, card is dead, photos are elsewhere
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
f586fc390b
commit
2e2b9242cf
2 changed files with 0 additions and 15 deletions
12
mount-photos
12
mount-photos
|
@ -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"
|
|
@ -1,3 +0,0 @@
|
|||
umount /dev/mapper/photos
|
||||
cryptsetup luksClose photos
|
||||
|
Loading…
Reference in a new issue