Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 373903
Collapse All | Expand All

(-)initrd.scripts.orig (-1 / +1 lines)
Lines 879-885 Link Here
879
					if [ $(echo ${LUKS_KEY} | grep -o '.gpg$') = ".gpg" ] && [ -e /sbin/gpg ] ; then
879
					if [ $(echo ${LUKS_KEY} | grep -o '.gpg$') = ".gpg" ] && [ -e /sbin/gpg ] ; then
880
						[ -e /dev/tty ] && mv /dev/tty /dev/tty.org
880
						[ -e /dev/tty ] && mv /dev/tty /dev/tty.org
881
						mknod /dev/tty c 5 1
881
						mknod /dev/tty c 5 1
882
						cryptsetup_options="-d -"
882
						#cryptsetup_options="-d -"
883
						gpg_cmd="/sbin/gpg --logger-file /dev/null --quiet --decrypt ${mntkey}${LUKS_KEY} |"
883
						gpg_cmd="/sbin/gpg --logger-file /dev/null --quiet --decrypt ${mntkey}${LUKS_KEY} |"
884
					else
884
					else
885
						cryptsetup_options="-d ${mntkey}${LUKS_KEY}"
885
						cryptsetup_options="-d ${mntkey}${LUKS_KEY}"

Return to bug 373903