mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-15 15:02:03 +00:00
init: inform user that running in quiet mode, tell user that technical information can be seen running 'cat /tmp/debug.log' from Recovery Shell
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
9cd4757e4a
commit
e03a790649
@ -59,6 +59,11 @@ hwclock -l -s
|
|||||||
. /etc/ash_functions
|
. /etc/ash_functions
|
||||||
. /etc/config
|
. /etc/config
|
||||||
|
|
||||||
|
# report if we are in quiet mode, tell logs available under /tmp/debug.log
|
||||||
|
if [ "$CONFIG_QUIET_MODE" = "y" ]; then
|
||||||
|
echo "Quiet mode enabled. To see technical output, do 'cat /tmp/debug.log' from Recovery Shell!" > /dev/tty0
|
||||||
|
fi
|
||||||
|
|
||||||
# Board config had CONFIG_DEBUG_OUTPUT=y defined.
|
# Board config had CONFIG_DEBUG_OUTPUT=y defined.
|
||||||
# Note that boards's coreboot config kernel command line "debug" option only will have all kernel messages output on console prior of this point
|
# Note that boards's coreboot config kernel command line "debug" option only will have all kernel messages output on console prior of this point
|
||||||
if [ "$CONFIG_DEBUG_OUTPUT" = "y" ]; then
|
if [ "$CONFIG_DEBUG_OUTPUT" = "y" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user