mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
The `kernel` env var provides the default kernel, usually "kernel". It may be the case that the user doesn't have a "kernel" kernel, just "kernel.*" kernels, but have left `kernel` to the default because we autodetect entries by default anyways. If we're doing autodetection, take note of whether the default kernel exists or not and remove it from the list if it doesn't and we had found any other kernels. We avoid it in the #kernels == 1 case because something fishy has likely happened and we should just trust the configuration. Reviewed by: imp, manu (cherry picked from commit d04415c520b031fb8eb93cb252e4acee66149c87) |
||
|---|---|---|
| .. | ||
| 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 | ||
| menu.lua | ||
| menu.lua.8 | ||
| password.lua | ||
| password.lua.8 | ||
| screen.lua | ||
| screen.lua.8 | ||