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
View File
@@ -38,6 +38,7 @@
#include "inetd.h"
int debug = 0;
int quiet = KERNEL_QUIET; /* Delayed disable of verbose mode. */
int verbose = VERBOSE_MODE;
int runlevel = 0; /* Bootstrap */
int cfglevel = RUNLEVEL; /* Fallback if no configured runlevel */
@@ -185,6 +186,10 @@ int main(int argc, char* argv[])
/* Start TTYs */
tty_runlevel(runlevel);
/* Disable verbose mode, if selected */
if (quiet)
verbose = 0;
/*
* Enter main loop to monior /dev/initctl and services
*/