Date: Sat, 3 Mar 2012 02:13:53 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r232427 - stable/9/release Message-ID: <201203030213.q232Dr4m058088@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sat Mar 3 02:13:53 2012 New Revision: 232427 URL: http://svn.freebsd.org/changeset/base/232427 Log: MFC r230482-230484,r230997: Per popular demand, if installing from a graphics terminal, show the installer log in real time on VTY 3, and spawn a shell on VTY 4. PR: bin/161048 Modified: stable/9/release/rc.local Directory Properties: stable/9/release/ (props changed) Modified: stable/9/release/rc.local ============================================================================== --- stable/9/release/rc.local Sat Mar 3 01:33:10 2012 (r232426) +++ stable/9/release/rc.local Sat Mar 3 02:13:53 2012 (r232427) @@ -12,12 +12,21 @@ MACHINE=`uname -m` kbdcontrol -d >/dev/null 2>&1 if [ $? -eq 0 ]; then - # Syscons: use xterm + # Syscons: use xterm, start interesting things on other VTYs if [ ${MACHINE} = "pc98" ]; then TERM=cons25w else TERM=xterm fi + + if [ -z "$EXTERNAL_VTY_STARTED" ]; then + # 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 + fi else # Serial or other console echo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203030213.q232Dr4m058088>