Add --enable-kernel-quiet to configure, delayed quiet after initial boot.

... with the additional twist that the kernel command line option
'quiet' also gets to play.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-07 16:20:23 +02:00
1 parent f8d608107c
commit 6d3972cca8
4 files changed
+23 -3

No files matched your search

+5 -3
View File
@@ -65,10 +65,12 @@ void parse_kernel_cmdline(void)
if (strstr(line, "finit_debug") || strstr(line, "--debug"))
debug = 1;
#ifdef KERNEL_QUIET
if (!debug && strstr(line, "quiet"))
verbose = 0;
quiet = 1;
else
quiet = 0;
#endif
fclose(fp);
}
}