Bug 137671 - [patch][request] enhance beastie.4th: possibility to display message, possibility to choose serial console
Summary: [patch][request] enhance beastie.4th: possibility to display message, possibi...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2009-08-11 15:10 UTC by Michael Leun
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:

file.diff (1.41 KB, patch)
2009-08-11 15:10 UTC, Michael Leun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Leun 2009-08-11 15:10:02 UTC
I created an custom install disk which installs without any interaction. You do NOT want to boot this by error on a wrong machine.
So I wanted to
- turn off the 10 secs countdown to autoboot (easily done with autoboot_delay=NO)
- display a big fat warning message stating that this disk may shoot into your foot

Additionaly I wanted a simple possibility to boot with console=comconsole.

So I added:

- you may specify  beastie_message="something" e.g. in loader.conf
If this environment variable is defined, the text "Welcome to FreeBSD!" is displayed 2 lines up then the usual place leading to 2 lines room for an message.

The text in the environment variable is displayed between the greeting and the menue.

e.g. beastie_message="ESC[1;7mATTENTION! This CD will format disks andESC[7;4Hinstall without further interaction!ESC[1;0m" 

- you may specify beastie_offerserial=YES
If you do so, you get an additional menue entry which sets console=comconsole and boots.

Fix: patch attached

Patch attached with submission follows:
How-To-Repeat: not applicable
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:44 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped