COLOR.4TH(8)
β¨ NAME β¨
okay so bestie, this is the COLOR.4TH(8) manual page, and it's all about color.4th β aka the FreeBSD color-detection boot module. Itβs giving tiny-but-mighty boot-script accessory, and weβre gonna read it together π«Ά.
π DESCRIPTION π
The file that goes by the name of color.4th is a set of commands designed to simplify color logic π
. But real talk: 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. iykyk.
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 the /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:
loader_color?β returnsFALSEif theloader_colorenvironment variable is set toNO(case-insensitive) or0. Otherwise returnsTRUE(unless booting serial). slay.
The environment variable that affects its behavior is:
loader_colorβ if set toNO(case-insensitive) or0, causesloader_color?to returnFALSE, indicating to many modules that color should not be used. periodt.
π FILES π
/boot/loaderβ theloader(8)./boot/color.4thβcolor.4thitself./boot/loader.rcβloader(8)bootstrapping script.
π EXAMPLES π
Standard i386 /boot/loader.rc:
Use color where applicable:
loader_color="YES"
π¦ SEE ALSO π¦
π HISTORY π
The color.4th set of commands first appeared in FreeBSD 9.0. iconic.
π AUTHORS π
The color.4th set of commands was written by Devin Teske <dteske@FreeBSD.org>. π«Ά
Source/version: Debian. Date stamp: August 6, 2013 β mwah, bestie π β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2011-2013 Devin Teske
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms