HomeFreeBSD

MFC r334882, r334884-r334885: loader(8) boot flag <-> environment fixes

Description

MFC r334882, r334884-r334885: loader(8) boot flag <-> environment fixes

r334882:
stand: Consolidate checking for boot flags driven by environment vars

e.g. boot_mute, boot_single, boot_verbose, and friends; we checked for these
in multiple places, consolidate into common/ and allow a setting of "NO" for
any of these to turn them off. This allows systems with multiple
loader.conf(5) or loader.conf(5) overlay systems to easily turn off
variables in later processed files by setting it to NO.

Reported by: Nick Wolff @ iXsystems
Reviewed by: imp

r334884:
stand: Fix build after r334882

Not sure how this was not caught in Universe.

r334885:
stand: One more trivial consolidation (setting environment from howto)

Details

Provenance
kevansAuthored on
Reviewer
imp
Parents
rS335754: MFC r334878: libsa(3): Correct statement about FS Write-support, name change
Branches
Unknown
Tags
Unknown