Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 10:13:52 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        freebsd-stable@freebsd.org
Subject:   Alternate menu logos
Message-ID:  <20050414095534.U24742@carver.gumbysoft.com>
In-Reply-To: <20050411110240.GA2118@gicco.homeip.net>
References:  <20050411110240.GA2118@gicco.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
(Changing the subject since its not reflective of the tone of the
message. Apologies to the poster, but since this is a touchy subject I'm
going to make this a more technical discussion.)

On Mon, 11 Apr 2005, Hanspeter Roth wrote:

> - or have an convenient flag in loaders.conf that allows to
>   run Beastie menu but display some other decoration?

I I have an idea and the patch in PR 74577 is about halfway there. I
suggest providing a script that forth-ifies a provided ASCII logo, and a
loader option to load a banner file from disk.  This way, if, say, an OEM
wanted to put contact information in there, they could put in loader.conf:

banner_enable="YES"
banner_file="/boot/oem.banner"

and have that displayed instead of the beastie.

The forthifier script would turn the file into a forth function definition
and then it can be included with standard routines in the loader.  Then
your banner function would just call it.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050414095534.U24742>