#!/bin/sh [ -b "/dev/mapper/$2" ] && exit 0 echo -n test >/keyfile /sbin/cryptsetup luksOpen "$1" "$2"