From owner-freebsd-questions@FreeBSD.ORG Sat Jul 18 10:59:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D491D106566C for ; Sat, 18 Jul 2009 10:59:51 +0000 (UTC) (envelope-from snikeris@gmail.com) Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5F68FC12 for ; Sat, 18 Jul 2009 10:59:51 +0000 (UTC) (envelope-from snikeris@gmail.com) Received: by ewy20 with SMTP id 20so1148369ewy.43 for ; Sat, 18 Jul 2009 03:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Wy8Jl71/IzaDNYx/A6a7OQ1iNCjle/XMGJsyJS0A+6w=; b=itK8SnuFX4I4CKdtiUAFOljDFJ8FQV2ws+uNgkEAYTFxwnynMFNrKca8BeYPaNjH4y yRFiaTGxqAJSI9x2Xl2hJQIeAs2OkE8J/6JPSssnD2Axx2yV0Hgm+BjJxwOUUrqIcErp g0j4O9lxN+WkjdNiTlyZPbxo5EW6u2aGMZrDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=G5BkqSrj+4qB8nrtB4I4GZvdpFDhVJTJQOrpGLlnFKB45doJ1kH6GVxs4/rGXWMsTG mdykyjGtFW5USsw+KOaddAR89hMehNW7zzqQaF8+wmSeg3ugYiQ92Pu0/syPRiMKKY/Q /caOIN8VSxDTgJ6Nxwapvblr5OReCC7y7ZfSA= MIME-Version: 1.0 Sender: snikeris@gmail.com Received: by 10.216.8.83 with SMTP id 61mr576277weq.156.1247914790444; Sat, 18 Jul 2009 03:59:50 -0700 (PDT) In-Reply-To: <200907172156.07685.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <20b8a1c50907171911t625ef579rbde5cc84f071e9f1@mail.gmail.com> <200907172156.07685.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Sat, 18 Jul 2009 05:59:50 -0500 X-Google-Sender-Auth: 2fc16dadcd7d8408 Message-ID: <20b8a1c50907180359q332181cekc53519388ad78be2@mail.gmail.com> From: Joe Snikeris To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Clearing ttyv0 after boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2009 10:59:52 -0000 On Sat, Jul 18, 2009 at 12:56 AM, Mel Flynn wrote: > On Friday 17 July 2009 18:11:56 Joe Snikeris wrote: > >> As the subject suggests, I'd like to clear ttyv0 immediately after >> booting so that it looks exactly like the other ttys. =A0I suspect I >> might have to add a local rc script, but I'm fairly new to FreeBSD and >> am not sure if this is the correct way to go. >> >> Does anyone have any pointers? > > This recently came up on this list: > Thanks for the pointer to that thread. 'clear > /etc/issue' did it for me. > > To do this during at the end of rc stage take hints from > /etc/rc.d/syscons, the rc(8) manpage and rcorder(8) about when to launch > this script. Ideally you want to REQUIRE what the last script reported > by rcorder PROVIDEs and possibly delay execution a bit (see > /etc/rc.d/bgfsck for an example of that), since you can't really hook > into the "login prompt is now displayed" event. > > Also, if you want the console to stay the same, you will need to > configure /etc/syslog.conf and change the line that sends to /dev/console > to send it to /var/log/console.log. newsyslog.conf(5) is already > configured to rotate that log. > -- > Mel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >