Merge pull request #68 from dracut-mailing-devs/1431698021-16626-3-git-send-email...
[dracut.git] / test / TEST-12-RAID-DEG / cryptroot-ask.sh
blobdb27c5b8840845c98f520132a70685ea28afdbec
1 #!/bin/sh
3 [ -b /dev/mapper/$2 ] && exit 0
4 echo -n test >/keyfile
5 /sbin/cryptsetup luksOpen $1 $2 </keyfile