summaryrefslogtreecommitdiff
path: root/test/TEST-12-RAID-DEG/cryptroot-ask.sh
blob: db27c5b8840845c98f520132a70685ea28afdbec (plain)
1
2
3
4
5
6
#!/bin/sh

[ -b /dev/mapper/$2 ] && exit 0
echo -n test >/keyfile
/sbin/cryptsetup luksOpen $1 $2 </keyfile