FreeBSD version string boot module
The file that goes by the name of
is a set of commands designed to draw the boot loader version at the
bottom-right of the screen. The commands of
by themselves are not enough
for most uses. Please refer to the examples below for the most common
situations, and to
for additional commands.
Before using any of the commands provided in
, it must be included through
This line is present in the default
file, so it is not needed
(and should not be re-issued) in a normal setup.
The commands provided by it are:
- Prints the contents of the loader_version
environment variable right-justified at the column
loader_version_x and row
The environment variables that effect its behavior are:
- Set automatically by
but you can override it by setting in
This should be the version of boot loader used.
- Sets the desired ending column position of
loader_version. Default is 80.
- Sets the desired ending row position of
loader_version. Default is 24.
- If set to “
NO” (case-insensitive) or
0”, causes the version to be
printed without color (default is ANSI Cyan).
set of commands first
appeared in FreeBSD 9.0
set of commands was written
by Devin Teske