diff options
Diffstat (limited to 'test/TEST-10-RAID/cryptroot-ask.sh')
-rwxr-xr-x | test/TEST-10-RAID/cryptroot-ask.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/TEST-10-RAID/cryptroot-ask.sh b/test/TEST-10-RAID/cryptroot-ask.sh new file mode 100755 index 0000000..7e956b3 --- /dev/null +++ b/test/TEST-10-RAID/cryptroot-ask.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +[ -b "/dev/mapper/$2" ] && exit 0 +printf test > /keyfile +/sbin/cryptsetup luksOpen "$1" "$2" < /keyfile |