dmsquash-live: add dmsquash-generator
[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