mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +00:00
Support for multiple (3) console= on kernel cmdline
Some targets, like Raspberry Pi, have both serial and HDMI console enabled. Depending on the order of arguments on the kernel cmdline either one were selected the default 'stderr', which finit used. This patch adds support for parsing the console= string(s) and opening multiple outputs for system startup/progress. In the end, however, a getty still needs to be started on each of the consoles to use. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
18359ef448
commit
3e8d63c29c
3 files changed
+67
-6
No files matched your search
@@ -89,6 +89,9 @@ static void parse_arg(char *arg, int *dbg)
|
||||
|
||||
if (string_compare(arg, "splash"))
|
||||
splash = 1;
|
||||
|
||||
if (string_match(arg, "console="))
|
||||
add_console(arg);
|
||||
}
|
||||
|
||||
void conf_parse_cmdline(int argc, char *argv[])
|
||||
|
||||
Reference in new issue
Block a user