From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 9 22:40:40 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9032316A4F5 for ; Mon, 9 Aug 2004 22:40:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8421643D80 for ; Mon, 9 Aug 2004 22:40:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i79MeR74067691 for ; Mon, 9 Aug 2004 22:40:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i79MeRHM067686; Mon, 9 Aug 2004 22:40:27 GMT (envelope-from gnats) Resent-Date: Mon, 9 Aug 2004 22:40:27 GMT Resent-Message-Id: <200408092240.i79MeRHM067686@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, hampi@rootshell.be Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AEF416A4CE for ; Mon, 9 Aug 2004 22:39:09 +0000 (GMT) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id B60C943D53 for ; Mon, 9 Aug 2004 22:39:07 +0000 (GMT) (envelope-from hampi@rootshell.be) Received: from gicco.homeip.net (80-218-73-163.dclient.hispeed.ch [80.218.73.163])i79Md6Oj027324 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 10 Aug 2004 00:39:06 +0200 Received: from goofy.here (localhost.here [127.0.0.1]) by gicco.homeip.net (8.13.1/8.13.1) with ESMTP id i79Md5uX001278 for ; Tue, 10 Aug 2004 00:39:05 +0200 (CEST) (envelope-from idefix@goofy.here) Received: (from idefix@localhost) by goofy.here (8.13.1/8.13.1/Submit) id i79Md5us001277; Tue, 10 Aug 2004 00:39:05 +0200 (CEST) (envelope-from idefix) Message-Id: <200408092239.i79Md5us001277@goofy.here> Date: Tue, 10 Aug 2004 00:39:05 +0200 (CEST) From: Hanspeter Roth To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/70231: Beastie not by default X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hampi@rootshell.be List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 22:40:43 -0000 >Number: 70231 >Category: misc >Synopsis: Beastie not by default >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 09 22:40:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Hanspeter Roth >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD goofy.here 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Sat Aug 7 22:01:00 CEST 2004 user@goofy.here:/usr/obj/usr/src/sys/F5 i386 >Description: The "Beastie" boot-menu makes sense. Just displaying such a beastie make reality ridiculous. The Beastie should not be displayed by default. >How-To-Repeat: >Fix: This patch displays a banner by default. diff -ru sys.orig/boot/forth/beastie.4th sys/boot/forth/beastie.4th --- sys.orig/boot/forth/beastie.4th Fri Jan 9 20:20:47 2004 +++ sys/boot/forth/beastie.4th Tue Aug 10 00:01:36 2004 @@ -93,7 +93,34 @@ at-xy ." `--{__________)" ; +: print-banner ( x y -- ) + 2dup at-xy ." " 1+ + 2dup at-xy ." " 1+ + 2dup at-xy ." ______" 1+ + 2dup at-xy ." / ____/_______ ___" 1+ + 2dup at-xy ." / /_ / ___/ _ \/ _ \" 1+ + 2dup at-xy ." / __/ / / / __/ __/" 1+ + 2dup at-xy ." /_/ /_/ \___/\___/" 1+ + 2dup at-xy ." " 1+ + 2dup at-xy ." ____ _____ ____" 1+ + 2dup at-xy ." / __ ) ___// __ \" 1+ + 2dup at-xy ." / __ \__ \/ / / /" 1+ + 2dup at-xy ." / /_/ /__/ / /_/ /" 1+ + at-xy ." /_____/____/_____/" + exit +; + : print-beastie ( x y -- ) + s" loader_banner" getenv + dup -1 = if + drop + print-banner + exit + then + s" YES" compare-insensitive 0= if + print-banner + exit + then s" loader_color" getenv dup -1 = if drop diff -ru sys.orig/boot/forth/loader.conf sys/boot/forth/loader.conf --- sys.orig/boot/forth/loader.conf Fri Aug 6 17:06:06 2004 +++ sys/boot/forth/loader.conf Tue Aug 10 00:05:10 2004 @@ -47,6 +47,7 @@ #autoboot_delay="10" # Delay in seconds before autobooting #beastie_disable="NO" # Turn the beastie boot menu on and off +#loader_banner="YES" # Display banner rather than Beastie #console="vidconsole" # Set the current console #currdev="disk1s1a" # Set the current device module_path="/boot/modules" # Set the module search path >Release-Note: >Audit-Trail: >Unformatted: