[PATCH] cttyhack: handle multiple consoles found from sysfs

Denys Vlasenko vda.linux at googlemail.com
Sat Feb 4 20:56:03 UTC 2012


On Saturday 04 February 2012 15:20, Aaro Koskinen wrote:
> If multiple consoles are found from the sysfs file, cttyhack will fail:
> 
> 	cttyhack: can't open '/dev/tty0 ttyS0': No such file or directory
> 
> In such cases take the last one as the kernel will use that one for
> /dev/console.

Applied, thanks!

-- 
vda


More information about the busybox mailing list