]> git.ipfire.org Git - thirdparty/dracut.git/blame - test/TEST-12-RAID-DEG/cryptroot-ask.sh
Renamed all shell scripts to *.sh
[thirdparty/dracut.git] / test / TEST-12-RAID-DEG / cryptroot-ask.sh
CommitLineData
dd26a551
HH
1#!/bin/sh
2
3[ -b /dev/mapper/$2 ] && exit 0
4echo -n test >/keyfile
5/sbin/cryptsetup luksOpen $1 $2 </keyfile
6