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 committed by Thierry Laurion
parent 44d566a72a
commit fb3e2066b8
No known key found for this signature in database
GPG Key ID: 79C78E6659DB658F

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