Re: bin/161048: commit references a PR

[ Available lists | Index of freebsd-sysinstall | Month of Jan 2012 | Week of 23 Jan 2012 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
dfilter service <dfilter@FreeBSD.ORG>
Date
23 Jan 2012 15:50:08
Subject
Re: bin/161048: commit references a PR
Message-ID
201201231550.q0NFo8Wp047879@freefall.freebsd.org


[ Hide this part ]
The following reply was made to PR bin/161048; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: bin/161048: commit references a PR
Date: Mon, 23 Jan 2012 15:45:11 +0000 (UTC)

Author: nwhitehorn
Date: Mon Jan 23 15:44:52 2012
New Revision: 230482
URL: http://svn.freebsd.org/changeset/base/230482

Log:
Per popular demand, if installing from a graphics terminal, run the
installer on a VTY with no kernel messages (VTY 2), show the installer
log in real time on VTY 3, and spawn a shell on VTY 4.

PR: bin/161047, bin/161048
MFC after: 2 weeks

Modified:
head/release/rc.local

Modified: head/release/rc.local
==============================================================================
--- head/release/rc.local Mon Jan 23 15:39:45 2012 (r230481)
+++ head/release/rc.local Mon Jan 23 15:44:52 2012 (r230482)
@@ -10,8 +10,19 @@

kbdcontrol -d >/dev/null 2>&1
if [ $? -eq 0 ]; then
- # Syscons: use xterm
+ # Syscons: use xterm, start interesting things on other VTYs
TERM=xterm
+
+ if [ "$EXTERNAL_VTY_STARTED" -ne 1 ]; then
+ vidcontrol -s 2 # Switch to a VTY with no kernel messages
+ # Init will clean these processes up if/when the system
+ # goes multiuser
+ touch /tmp/bsdinstall_log
+ tail -f /tmp/bsdinstall_log > /dev/ttyv2 &
+ /usr/libexec/getty autologin ttyv3
+ EXTERNAL_VTY_STARTED=1
+ trap "vidcontrol -s 1" EXIT
+ fi
else
# Serial or other console
echo
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"



Elapsed time: 0.210 seconds