mirror of
https://github.com/opnsense/src.git
synced 2026-04-20 21:59:20 -04:00
If product_vars is set, it must be a space separated list of environment
variable names to walk through to guess the product. Each time a product can be
guessed (i.e., the corresponding variable is defined), prepend
/boot/loader.conf.d/PRODUCT/ to loader_conf_dirs.
It can be typically used as follow:
smbios.system.planar.maker="PLANAR_MAKER"
smbios.system.planar.product="PLANAR_PRODUCT"
smbios.system.product="PRODUCT"
uboot.m_product="M_PRODUCT"
product_vars="smbios.system.planar.maker smbios.system.planar.product smbios.system.product uboot.m_product"
to read files found in the following directories, in that order:
/boot/loader.conf.d/PLANAR_MAKER
/boot/loader.conf.d/PLANAR_PRODUCT
/boot/loader.conf.d/PRODUCT
/boot/loader.conf.d/M_PRODUCT
Reviewed by: imp, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/759
[[ The commit, revert, commit has been squashed dpwn ]]
(cherry picked from commit c343eedc6db381ac76e489f8ae0304898b71c5db)
(cherry picked from commit 994865caf250ea2a59b7b842e44680931e8b19f6)
(cherry picked from commit 754cac4b283eb024a3a6a194130199c860e32ebf)
|
||
|---|---|---|
| .. | ||
| cli.lua | ||
| cli.lua.8 | ||
| color.lua | ||
| color.lua.8 | ||
| config.lua | ||
| config.lua.8 | ||
| core.lua | ||
| core.lua.8 | ||
| drawer.lua | ||
| drawer.lua.8 | ||
| gfx-beastie.lua | ||
| gfx-beastiebw.lua | ||
| gfx-fbsdbw.lua | ||
| gfx-orb.lua | ||
| gfx-orbbw.lua | ||
| hook.lua | ||
| hook.lua.8 | ||
| loader.conf.lua.5 | ||
| loader.lua | ||
| Makefile | ||
| Makefile.depend | ||
| menu.lua | ||
| menu.lua.8 | ||
| password.lua | ||
| password.lua.8 | ||
| screen.lua | ||
| screen.lua.8 | ||