2004-06-11 15:37:49 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
# @(#)ttys 5.1 (Berkeley) 4/17/89
|
|
|
|
#
|
|
|
|
# This file specifies various information about terminals on the system.
|
|
|
|
# It is used by several different programs. Common entries for the
|
|
|
|
# various columns include:
|
|
|
|
#
|
|
|
|
# name The name of the terminal device.
|
|
|
|
#
|
|
|
|
# getty The program to start running on the terminal. Typically a
|
|
|
|
# getty program, as the name implies. Other common entries
|
|
|
|
# include none, when no getty is needed, and xdm, to start the
|
|
|
|
# X Window System.
|
|
|
|
#
|
|
|
|
# type The initial terminal type for this port. For hardwired
|
|
|
|
# terminal lines, this will contain the type of terminal used.
|
2009-11-13 05:54:55 +00:00
|
|
|
# For virtual consoles, the correct type is typically xterm.
|
2011-03-30 08:22:29 +00:00
|
|
|
# Other common values include dialup for incoming modem ports, and
|
|
|
|
# unknown when the terminal type cannot be predetermined.
|
2004-06-11 15:37:49 +00:00
|
|
|
#
|
|
|
|
# status Must be on or off. If on, init will run the getty program on
|
|
|
|
# the specified port. If the word "secure" appears, this tty
|
|
|
|
# allows root login.
|
|
|
|
#
|
|
|
|
# name getty type status comments
|
|
|
|
#
|
|
|
|
# If console is marked "insecure", then init will ask for the root password
|
|
|
|
# when going to single-user mode.
|
|
|
|
console none unknown off secure
|
|
|
|
#
|
MFC r282500, r282693:
r282500:
Add initial support for building RPI2 images.
In release.sh, allow overriding buildenv_setup() before
the handoff to arm/release.sh.
Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and
the correct KERNEL, and add the buildenv_setup() override
to install the sysutils/u-boot-rpi2 port/package.
Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf,
and set the correct entries for the RaspberryPi2 board.
r282693:
Merge ^/projects/release-arm-redux into ^/head.
Of note:
- This commit adds native FreeBSD/arm release build support without
requiring out-of-tree utilities.
- Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel
configuration files, for which the IMX6 kernel configuration file
should be used instead.
- The resulting images have a 'freebsd' user (password 'freebsd'),
to allow ssh(1) access when console access is not available (VGA
or serial). The default 'root' user password is set to 'root'.
- The /etc/ttys file for arm images now enable both ttyv0 and ttyu0
by default.
Note: The RPI2 kernel configuration does not yet exist in stable/10,
however the merge conflicts needed to be properly resolved.
Additionally, SRCBRANCH has been set to base/stable/10 in the updated
arm configuration files as part of this commit.
Sponsored by: The FreeBSD Foundation
2015-05-20 19:32:57 +00:00
|
|
|
ttyv0 "/usr/libexec/getty Pc" xterm onifconsole secure
|
2004-06-11 15:37:49 +00:00
|
|
|
# Virtual terminals
|
2009-11-13 05:54:55 +00:00
|
|
|
ttyv1 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv2 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv3 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv4 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv5 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv6 "/usr/libexec/getty Pc" xterm off secure
|
|
|
|
ttyv7 "/usr/libexec/getty Pc" xterm off secure
|
2007-05-29 06:37:58 +00:00
|
|
|
#ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
|
2004-06-11 15:37:49 +00:00
|
|
|
# Serial terminals
|
|
|
|
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
|
MFC r282500, r282693:
r282500:
Add initial support for building RPI2 images.
In release.sh, allow overriding buildenv_setup() before
the handoff to arm/release.sh.
Copy arm/RPI-B.conf -> arm/RPI2.conf, set UBOOT_PORT and
the correct KERNEL, and add the buildenv_setup() override
to install the sysutils/u-boot-rpi2 port/package.
Copy tools/arm/crochet-RPI-B.conf -> tools/arm/crochet-RPI2.conf,
and set the correct entries for the RaspberryPi2 board.
r282693:
Merge ^/projects/release-arm-redux into ^/head.
Of note:
- This commit adds native FreeBSD/arm release build support without
requiring out-of-tree utilities.
- Part of this merge removes the WANDBOARD-{SOLO,DUAL,QUAD} kernel
configuration files, for which the IMX6 kernel configuration file
should be used instead.
- The resulting images have a 'freebsd' user (password 'freebsd'),
to allow ssh(1) access when console access is not available (VGA
or serial). The default 'root' user password is set to 'root'.
- The /etc/ttys file for arm images now enable both ttyv0 and ttyu0
by default.
Note: The RPI2 kernel configuration does not yet exist in stable/10,
however the merge conflicts needed to be properly resolved.
Additionally, SRCBRANCH has been set to base/stable/10 in the updated
arm configuration files as part of this commit.
Sponsored by: The FreeBSD Foundation
2015-05-20 19:32:57 +00:00
|
|
|
ttyu0 "/usr/libexec/getty 3wire" vt100 onifconsole secure
|
MFC r284683:
Enable ttyu1, ttyu2, ttyu3 for arm installations.
This should make all consoles available, whether it
is VGA, HDMI, serial, or JTAG, but more importantly
enables all consoles when ttyu0 is not predictable.
For example, the Pandaboard ES apparently has three
consoles available, but the DB9/RS232 serial port is
ttyu2, so not available by default after the system
boots.
Sponsored by: The FreeBSD Foundation
2015-06-24 18:58:42 +00:00
|
|
|
ttyu1 "/usr/libexec/getty 3wire" vt100 onifconsole secure
|
|
|
|
ttyu2 "/usr/libexec/getty 3wire" vt100 onifconsole secure
|
|
|
|
ttyu3 "/usr/libexec/getty 3wire" vt100 onifconsole secure
|
2004-06-11 15:37:49 +00:00
|
|
|
# Dumb console
|
|
|
|
dcons "/usr/libexec/getty std.9600" vt100 off secure
|