mirror_zfs/contrib/initramfs/scripts
Garrett Fields fb244566c2 Force systems with kernel option "quiet" to display prompt for password
On systems that utilize TTY for password entry, if the kernel
option "quiet" is set, the system would appear to freeze on a
blank screen, when in fact it is waiting for password entry
from the user.

Since TTY is the fallback method, this has no effect on systemd
or plymouth password prompting.

By temporarily setting "printk" to "7", running the command,
then resuming with the original "printk" state, the user can
see the password prompt.

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Garrett Fields <ghfields@gmail.com>
Closes #9731
2020-01-22 13:49:05 -08:00
..
local-top install path fixes 2020-01-22 13:48:57 -08:00
.gitignore contrib/initramfs: switch to automake 2017-11-07 14:53:57 -08:00
Makefile.am install path fixes 2020-01-22 13:48:57 -08:00
zfs.in Force systems with kernel option "quiet" to display prompt for password 2020-01-22 13:49:05 -08:00