freebsd-skq/stand/lua
Kyle Evans 59ba5b1dc2 loader.lua: re-arrange to load local.lua *after* config loading
The major problem with the current ordering is that loader.conf may contain
all of the magic we need to actually setup the console, so loading local.lua
prior to that can make it excessively difficult and annoying to debug
(whoops, sorry Ravi & Warner).

The new ordering has some implications, but I suspect they are a non-issue.
The first is that it's no longer possible for the local module to inject any
logic prior to loading config -- I suspect no one has relied on this. The
second implication is that the config.loaded hook is now useless, as the
local module will always be included after that hook would have fired.

For config.loaded, I will opt to leave it in, just in case we add an early
point for local lua to get injected or in case one wants to schedule some
deferred logic in a custom loader.lua. The overhead of having it if no hooks
will be invoked is relatively minimal.

Diagnosed by:	imp
Reported by:	imp, rpokala (most likely)
MFC after:	3 days
2020-01-25 03:02:45 +00:00
..
cli.lua lualoader: Add reload-conf loader command 2019-09-14 03:38:18 +00:00
cli.lua.8 lualoader: Add reload-conf loader command 2019-09-14 03:38:18 +00:00
color.lua lualoader: fix setting of loader_color=NO in loader.conf(5) 2019-10-21 20:17:31 +00:00
color.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
config.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
config.lua.8 Add config.lua(8) to the tree 2018-08-19 15:07:39 +00:00
core.lua lualoader: correct a typo from r354247 2019-12-03 18:44:19 +00:00
core.lua.8 Eliminate zfsloader man page. 2018-07-20 05:17:49 +00:00
drawer.lua lualoader: Revert to ASCII menu frame for serial console 2019-09-10 21:30:38 +00:00
drawer.lua.8 Add drawer.lua(8) 2018-08-20 02:08:39 +00:00
hook.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
hook.lua.8 lualoader: Add hook.lua(8) to tree 2018-06-09 14:26:30 +00:00
loader.lua loader.lua: re-arrange to load local.lua *after* config loading 2020-01-25 03:02:45 +00:00
logo-beastie.lua loader_lua: lua color changes should end with reset 2019-09-22 17:39:20 +00:00
logo-beastiebw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-fbsdbw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
logo-orb.lua loader_lua: lua color changes should end with reset 2019-09-22 17:39:20 +00:00
logo-orbbw.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
Makefile stand: consolidate knowledge of lua path 2019-11-02 03:37:58 +00:00
menu.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
menu.lua.8 Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
password.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
password.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
screen.lua lualoader: don't botch disabling of color 2019-10-21 20:09:43 +00:00
screen.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00