lualoader: Provide a 'menu' command to redraw the menu at the loader prompt

Reported by:	allanjude
Approved by:	re (kib)
This commit is contained in:
Kyle Evans 2018-10-11 17:16:39 +00:00
parent 882764c164
commit 76c75816cf

View File

@ -29,7 +29,7 @@
-- $FreeBSD$
--
local cli = require("cli")
local core = require("core")
local color = require("color")
local config = require("config")
@ -466,4 +466,9 @@ function menu.autoboot(delay)
cli_execute_unparsed(cmd)
end
-- CLI commands
function cli.menu(...)
menu.run()
end
return menu