Skip to content

Commit a450dba

Browse files
committed
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 <[email protected]>
1 parent e44c301 commit a450dba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

initrd/init

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ hwclock -l -s
5959
. /etc/ash_functions
6060
. /etc/config
6161

62+
# report if we are in quiet mode, tell logs available under /tmp/debug.log
63+
if [ "$CONFIG_QUIET_MODE" = "y" ]; then
64+
echo "Quiet mode enabled. To see technical output, do 'cat /tmp/debug.log' from Recovery Shell!" > /dev/tty0
65+
fi
66+
6267
# Board config had CONFIG_DEBUG_OUTPUT=y defined.
6368
# Note that boards's coreboot config kernel command line "debug" option only will have all kernel messages output on console prior of this point
6469
if [ "$CONFIG_DEBUG_OUTPUT" = "y" ]; then

0 commit comments

Comments
 (0)