GPG_TTY is forced to /dev/console under init. Ash console is never called; trying to get console tty from the tty returns "no console". NEEDs BETTER FIX.

This commit is contained in:
Thierry Laurion 2018-11-14 19:45:44 -05:00
parent cc89d6832d
commit 6623374ffb

View File

@ -5,6 +5,9 @@ echo "hello world" > /dev/ttyprintk
# Setup our path
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
#export GPG_TTY STATICALLY (NEED TO FIX)
export GPG_TTY=/dev/console
# This is the very first script invoked by the Linux kernel and is
# running out of the ram disk. There are no fileysstems mounted.
# It is important to have a way to invoke a recovery shell in case