let softlink to dmraid initqueue scan end with ".sh"
[dracut/plouj.git] / test / TEST-10-RAID / cryptroot-ask
blobdb27c5b8840845c98f520132a70685ea28afdbec
1 #!/bin/sh
3 [ -b /dev/mapper/$2 ] && exit 0
4 echo -n test >/keyfile
5 /sbin/cryptsetup luksOpen $1 $2 </keyfile