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:
parent
882764c164
commit
76c75816cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user