diff options
Diffstat (limited to 'test/TEST-14-IMSM/cryptroot-ask.sh')
-rwxr-xr-x | test/TEST-14-IMSM/cryptroot-ask.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/TEST-14-IMSM/cryptroot-ask.sh b/test/TEST-14-IMSM/cryptroot-ask.sh new file mode 100755 index 00000000..db27c5b8 --- /dev/null +++ b/test/TEST-14-IMSM/cryptroot-ask.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +[ -b /dev/mapper/$2 ] && exit 0 +echo -n test >/keyfile +/sbin/cryptsetup luksOpen $1 $2 </keyfile + |