menu.lua (e25152834cdf3b353892835a4f3b157e066a8ed4) menu.lua (8f3b36103b20049e207e64039ad3e99ffb5b51e2)
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

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

239 else
240 boot_entry_1, boot_entry_2 = multi_user, single_user
241 end
242 return {
243 boot_entry_1,
244 boot_entry_2,
245 menu_entries.prompt,
246 menu_entries.reboot,
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

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

239 else
240 boot_entry_1, boot_entry_2 = multi_user, single_user
241 end
242 return {
243 boot_entry_1,
244 boot_entry_2,
245 menu_entries.prompt,
246 menu_entries.reboot,
247 menu_entries.console,
247 {
248 entry_type = core.MENU_SEPARATOR,
249 },
250 {
251 entry_type = core.MENU_SEPARATOR,
252 name = "Options:",
253 },
254 menu_entries.kernel_options,

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

279 alternate_name = "Boot " .. color.highlight("S") ..
280 "ingle user " .. color.highlight("[Enter]"),
281 func = function()
282 core.setSingleUser(true)
283 core.boot()
284 end,
285 alias = {"s", "S"},
286 },
248 {
249 entry_type = core.MENU_SEPARATOR,
250 },
251 {
252 entry_type = core.MENU_SEPARATOR,
253 name = "Options:",
254 },
255 menu_entries.kernel_options,

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

280 alternate_name = "Boot " .. color.highlight("S") ..
281 "ingle user " .. color.highlight("[Enter]"),
282 func = function()
283 core.setSingleUser(true)
284 core.boot()
285 end,
286 alias = {"s", "S"},
287 },
288 console = {
289 entry_type = core.MENU_ENTRY,
290 name = function()
291 return color.highlight("C") .. "ons: " .. core.getConsoleName()
292 end,
293 func = function()
294 core.nextConsoleChoice()
295 end,
296 alias = {"c", "C"},
297 },
287 prompt = {
288 entry_type = core.MENU_RETURN,
289 name = color.highlight("Esc") .. "ape to loader prompt",
290 func = function()
291 loader.setenv("autoboot_delay", "NO")
292 end,
293 alias = {core.KEYSTR_ESCAPE},
294 },

--- 243 unchanged lines hidden ---
298 prompt = {
299 entry_type = core.MENU_RETURN,
300 name = color.highlight("Esc") .. "ape to loader prompt",
301 func = function()
302 loader.setenv("autoboot_delay", "NO")
303 end,
304 alias = {core.KEYSTR_ESCAPE},
305 },

--- 243 unchanged lines hidden ---