The tinit program initializes the terminal, by looking at /etc/config/ttys and running login or shells, based on the contents of the file.
The tinit program initializes the terminal, as follows:
For more information, including a description of /etc/config/ttys, see tinit in the Utilities Reference.