COLOR.4TH(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

✨ 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? β€” returns FALSE if the loader_color environment variable is set to NO (case-insensitive) or 0. Otherwise returns TRUE (unless booting serial). slay.

The environment variable that affects its behavior is:

  • 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. periodt.

πŸŽ€ FILES πŸŽ€

  • /boot/loader β€” the loader(8).
  • /boot/color.4th β€” color.4th itself.
  • /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