svn commit: r330340 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Sat Mar 3 17:18:41 UTC 2018
Author: kevans
Date: Sat Mar 3 17:18:40 2018
New Revision: 330340
URL: https://svnweb.freebsd.org/changeset/base/330340
Log:
lualoader: Execute menu_timeout_command at the end of menu autoboot
Instead of hardcoding "boot", respect menu_timeout_command from Forth. It
still defaults to 'boot', so this will not be a functional change for most.
Modified:
head/stand/lua/menu.lua
Modified: head/stand/lua/menu.lua
==============================================================================
--- head/stand/lua/menu.lua Sat Mar 3 17:13:12 2018 (r330339)
+++ head/stand/lua/menu.lua Sat Mar 3 17:18:40 2018 (r330340)
@@ -448,8 +448,9 @@ function menu.autoboot()
loader.delay(50000)
until time <= 0
- core.boot()
+ local cmd = loader.getenv("menu_timeout_command") or "boot"
+ loader.interpret(cmd)
end
return menu
More information about the svn-src-head
mailing list