menu.lua (94510c294d831a47ac24d691078d0221493ec68e) menu.lua (e7ccd5b4187d15cd91697f1f4e12cf40e3ce86c3)
1--
2-- SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3--
4-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org>
5-- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
6-- All rights reserved.
7--
8-- Redistribution and use in source and binary forms, with or without

--- 243 unchanged lines hidden (view full) ---

252 entry_type = core.MENU_SEPARATOR,
253 name = "Options:",
254 },
255 menu_entries.kernel_options,
256 menu_entries.boot_options,
257 menu_entries.zpool_checkpoints,
258 menu_entries.boot_envs,
259 menu_entries.chainload,
1--
2-- SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3--
4-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org>
5-- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
6-- All rights reserved.
7--
8-- Redistribution and use in source and binary forms, with or without

--- 243 unchanged lines hidden (view full) ---

252 entry_type = core.MENU_SEPARATOR,
253 name = "Options:",
254 },
255 menu_entries.kernel_options,
256 menu_entries.boot_options,
257 menu_entries.zpool_checkpoints,
258 menu_entries.boot_envs,
259 menu_entries.chainload,
260 menu_entries.vendor,
260 }
261 end,
262 all_entries = {
263 multi_user = {
264 entry_type = core.MENU_ENTRY,
265 name = color.highlight("B") .. "oot Multi user " ..
266 color.highlight("[Enter]"),
267 -- Not a standard menu entry function!

--- 127 unchanged lines hidden (view full) ---

395 loader.perform("chain " ..
396 loader.getenv('chain_disk'))
397 end,
398 visible = function()
399 return loader.getenv('chain_disk') ~= nil
400 end,
401 alias = {"l", "L"},
402 },
261 }
262 end,
263 all_entries = {
264 multi_user = {
265 entry_type = core.MENU_ENTRY,
266 name = color.highlight("B") .. "oot Multi user " ..
267 color.highlight("[Enter]"),
268 -- Not a standard menu entry function!

--- 127 unchanged lines hidden (view full) ---

396 loader.perform("chain " ..
397 loader.getenv('chain_disk'))
398 end,
399 visible = function()
400 return loader.getenv('chain_disk') ~= nil
401 end,
402 alias = {"l", "L"},
403 },
404 vendor = {
405 entry_type = core.MENU_ENTRY,
406 visible = false,
407 },
403 },
404}
405
406menu.default = menu.welcome
407-- current_alias_table will be used to keep our alias table consistent across
408-- screen redraws, instead of relying on whatever triggered the redraw to update
409-- the local alias_table in menu.process.
410menu.current_alias_table = {}

--- 138 unchanged lines hidden ---
408 },
409}
410
411menu.default = menu.welcome
412-- current_alias_table will be used to keep our alias table consistent across
413-- screen redraws, instead of relying on whatever triggered the redraw to update
414-- the local alias_table in menu.process.
415menu.current_alias_table = {}

--- 138 unchanged lines hidden ---