|
|
@ -827,7 +827,7 @@ openLUKS() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# At this point a candidate key exists (either mounted before or not)
|
|
|
|
# At this point a candidate key exists (either mounted before or not)
|
|
|
|
good_msg "${LUKS_KEY} on device ${LUKS_KEYDEV} found" ${CRYPT_SILENT}
|
|
|
|
good_msg "${LUKS_KEY} on device ${LUKS_KEYDEV} found" ${CRYPT_SILENT}
|
|
|
|
if [ $(echo ${LUKS_KEY} | grep -o '.gpg$') == ".gpg" ] && [ -e /sbin/gpg ] ; then
|
|
|
|
if [ $(echo ${LUKS_KEY} | grep -o '.gpg$') = ".gpg" ] && [ -e /sbin/gpg ] ; then
|
|
|
|
[ -e /dev/tty ] && mv /dev/tty /dev/tty.org
|
|
|
|
[ -e /dev/tty ] && mv /dev/tty /dev/tty.org
|
|
|
|
mknod /dev/tty c 5 1
|
|
|
|
mknod /dev/tty c 5 1
|
|
|
|
cryptsetup_options="-d -"
|
|
|
|
cryptsetup_options="-d -"
|
|
|
|