freebsd-dev/stand/lua
Kyle Evans 7dcffa9042 lualoader: Don't execute menu.autoboot() for every opened menu
Attempt to autoboot when we open the default menu, and only when we open the
default menu. This alleviates the need for checking menu.already_autoboot,
because we're not trying to autoboot every time we open a submenu.

I note that escaping to loader prompt and going back to the menu (by running
require('menu').run() at the loader prompt) will happily work and not
re-initiate the autoboot sequence since "Escape to loader prompt" disables
the autoboot_delay.
2018-02-21 17:33:01 +00:00
..
color.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00
config.lua lualoader: Output "Failed to parse" messages 2018-02-21 01:52:42 +00:00
core.lua lualoader: Make kernel autodetection contingent on loader.conf(5) var 2018-02-21 16:57:03 +00:00
drawer.lua lualoader: Allow carousel 'items' to be a table as well as a function 2018-02-21 05:04:58 +00:00
loader.lua lualoader: Bring in local.lua module if it exists 2018-02-21 02:35:13 +00:00
Makefile
menu.lua lualoader: Don't execute menu.autoboot() for every opened menu 2018-02-21 17:33:01 +00:00
password.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00
screen.lua lualoader: Drop excessive parenthesizing 2018-02-21 01:35:19 +00:00