inittab: fallback when multiple "console=" is detected
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Tue, 12 Mar 2024 04:14:24 +0000 (13:14 +0900)
committerRobert Marko <robimarko@gmail.com>
Mon, 25 Mar 2024 09:28:50 +0000 (10:28 +0100)
commitca8c30208d5e1aaa2c0e3f732c4c9944735e9850
treef6a1aaba1ee81250003847f4cf397f8ad41950fb
parent49ea930a862c8eeb4996170b34a930f5848895e9
inittab: fallback when multiple "console=" is detected

Linux Kernel uses a console in the last "console=" parameter in bootargs
as /dev/console, so falllback to /dev/console or get_active_console()
when multiple "console=" parameter is found in bootargs, instead of
using the first console.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
inittab.c