]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enable a login console on ttyu0 by default if it is a serial console. This
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Fri, 30 May 2014 16:53:53 +0000 (16:53 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Fri, 30 May 2014 16:53:53 +0000 (16:53 +0000)
commitf2d7865517e54203d6773ea7a407356fd8f06ef7
treeddba87ef8b35a1491d119d72d753dd18f49ffbf3
parent5e6464df335ca073d9d1cdef90c86e543f74209d
Enable a login console on ttyu0 by default if it is a serial console. This
prevents surprising effects post-installation on serial-only x86 systems
(e.g. bhyve) where the kernel messages will appear, rc scripts will run,
and then there will be no login prompt and you will be locked out of the
system.

Thanks to Devin Teske and Peter Grehan for ideas and testing. With this
patch, it may also be possible to unify all or most of the machine-specific
ttys files.
etc/etc.amd64/ttys
etc/etc.i386/ttys