GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
COLOR.4TH(8) FreeBSD System Manager's Manual COLOR.4TH(8)

color.4th
FreeBSD color-detection boot module

The file that goes by the name of color.4th is a set of commands designed to simplify color logic. The commands of color.4th by themselves are not enough for most uses. Please refer to the examples below for the most common situations, and to loader(8) for additional commands.

Before using any of the commands provided in color.4th, it must be included through the command:

include color.4th

This line is present in /boot/loader.4th file, so it is not needed (and should not be re-issued) in a normal setup.

The commands provided by it are:

Returns FALSE if the loader_color environment variable is set to “NO” (case-insensitive) or “0”. Otherwise returns TRUE (unless booting serial).

The environment variables that effect its behavior are:

loader_color
If set to “NO” (case-insensitive) or “0”, causes loader_color? to return FALSE, indicating to many modules that color should not be used.

/boot/loader
The loader(8).
/boot/color.4th
color.4th itself.
/boot/loader.rc
loader(8) bootstrapping script.

Standard i386 /boot/loader.rc:

Use color where applicable:

loader_color="YES"

loader.conf(5), loader(8), loader.4th(8)

The color.4th set of commands first appeared in FreeBSD 9.0.

The color.4th set of commands was written by Devin Teske ⟨dteske@FreeBSD.org⟩.
August 6, 2013 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.