]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Update the arm64 ttys file to enable the correct uart based on which device
authorandrew <andrew@FreeBSD.org>
Thu, 1 Oct 2015 09:36:18 +0000 (09:36 +0000)
committerandrew <andrew@FreeBSD.org>
Thu, 1 Oct 2015 09:36:18 +0000 (09:36 +0000)
the console is attached to. This makes this file identical to the 32-bit
arm version of this file.

Obtained from: EuroBSDCon devsummit
Sponsored by: ABT Systems Ltd

etc/etc.aarch64/ttys

index b6fd9edc74862c4256f49f20d5a1f04d3f6126cb..f5f225edc260f824d107bbb69aef895e264fa705 100644 (file)
@@ -29,7 +29,7 @@
 # when going to single-user mode.
 console        none                            unknown off secure
 #
-ttyv0  "/usr/libexec/getty Pc"         xterm   off  secure
+ttyv0  "/usr/libexec/getty Pc"         xterm   onifconsole  secure
 # Virtual terminals
 ttyv1  "/usr/libexec/getty Pc"         xterm   off  secure
 ttyv2  "/usr/libexec/getty Pc"         xterm   off  secure
@@ -41,9 +41,9 @@ ttyv7 "/usr/libexec/getty Pc"         xterm   off  secure
 #ttyv8 "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 # Serial terminals
 # The 'dialup' keyword identifies dialin lines to login, fingerd etc.
-ttyu0  "/usr/libexec/getty std.9600"   vt100   on  secure
-ttyu1  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu2  "/usr/libexec/getty std.9600"   dialup  off secure
-ttyu3  "/usr/libexec/getty std.9600"   dialup  off secure
+ttyu0  "/usr/libexec/getty 3wire"      vt100   onifconsole  secure
+ttyu1  "/usr/libexec/getty 3wire"      vt100   onifconsole  secure
+ttyu2  "/usr/libexec/getty 3wire"      vt100   onifconsole  secure
+ttyu3  "/usr/libexec/getty 3wire"      vt100   onifconsole  secure
 # Dumb console
 dcons  "/usr/libexec/getty std.9600"   vt100   off secure