]> git.ipfire.org Git - thirdparty/dracut.git/blob - test/TEST-13-ENC-RAID-LVM/cryptroot-ask
TEST-30-ISCSI/test.sh: factor out client runs
[thirdparty/dracut.git] / test / TEST-13-ENC-RAID-LVM / cryptroot-ask
1 #!/bin/sh
2
3 [ -b /dev/mapper/$2 ] && exit 0
4 echo -n test >/keyfile
5 /sbin/cryptsetup luksOpen $1 $2 </keyfile
6