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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"