[Toybox] [PATCH] Fix oneit sysfs console autodetection
Rob Landley
rob at landley.net
Fri Apr 14 20:53:59 PDT 2023
On 4/14/23 17:13, Daniel Mentz via Toybox wrote:
> oneit appears to have made the assumption that
> /sys/class/tty/console/active provides a list of console names separated
> by newline characters. It turned out, though, that individual names are
> separated by space characters with a newline character at the very end
> of the list.
Applied, and then a tweak on top of it. Works for me, but the original problem
was I don't have a test case returning multiple consoles...
Thanks,
Rob
More information about the Toybox
mailing list