mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
Allow kernel log messages to console with loglevel=7
Since Finit v4.0 kernel console output has been silenced just prior to the banner being printed, unless finit.debug mode was enabled. This patch makes sure to check the kernel loglevel, if it's >= 7, finit no longer disables kernel console ouput. Consequently, you now need 'quiet' on your kernel command line, or a loglevel < 7 for a quiet boot, at least until a syslogd takes over. This means that you now can debug the kernel and finit independently, which should be a great comfort to anyone doing bringup or any form of kernel debugging. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
e5fff5117d
commit
5ff27c4fe2
3 files changed
+28
-1
No files matched your search
@@ -114,6 +114,7 @@ extern int debug;
|
||||
extern int rescue;
|
||||
extern int single;
|
||||
extern int bootstrap;
|
||||
extern int kerndebug;
|
||||
extern char *rcsd;
|
||||
extern char *sdown;
|
||||
extern char *network;
|
||||
|
||||
Reference in new issue
Block a user