mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
The drawer.lua script ignores the values in loader_brand_x and
loader_brand_y on framebuffer consoles, always positioning the brand at
(1, 1).
Allow it to be positioned by accepting the x and y values just like the
text version. For example:
/boot/lua/gfx-nanobsd.lua:
return {
brand = {
graphic = {
""
},
requires_color = true,
image = "/boot/images/freebsd-logo-rev.png"
}
}
/boot/loader.conf.d/bootloader.conf:
loader_logo="none"
loader_brand="nanobsd"
loader_brand_x="15"
PR: 255202
Reviewed by: manu, imp
Approved by: emaste (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D49092
(cherry picked from commit 7d1d7f42302d80c33243501601b77323acc0717f)
|
||
|---|---|---|
| .. | ||
| 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 | ||
| gfx.lua.8 | ||
| hook.lua | ||
| hook.lua.8 | ||
| loader.conf.lua.5 | ||
| loader.lua | ||
| loader.lua.8 | ||
| Makefile | ||
| Makefile.depend | ||
| menu.lua | ||
| menu.lua.8 | ||
| password.lua | ||
| password.lua.8 | ||
| screen.lua | ||
| screen.lua.8 | ||