Lines Matching full:core
31 local core = require("core")
41 entry_type = core.MENU_RETURN,
75 [core.MENU_ENTRY] = function(_, entry)
79 [core.MENU_CAROUSEL_ENTRY] = function(_, entry)
93 [core.MENU_SUBMENU] = function(_, entry)
96 [core.MENU_RETURN] = function(_, entry)
111 entry_type = core.MENU_CAROUSEL_ENTRY,
113 items = core.bootenvList,
139 entry_type = core.MENU_ENTRY,
141 return core.isRewinded() == false
145 core.bootenvDefault()
150 bootenvSet(core.bootenvDefault())
163 entry_type = core.MENU_ENTRY,
166 func = core.setDefaults,
170 entry_type = core.MENU_SEPARATOR,
173 entry_type = core.MENU_SEPARATOR,
178 entry_type = core.MENU_ENTRY,
179 visible = core.hasACPI,
182 "CPI :", core.acpi)
184 func = core.setACPI,
189 entry_type = core.MENU_ENTRY,
192 "ode :", core.sm)
194 func = core.setSafeMode,
199 entry_type = core.MENU_ENTRY,
202 "ingle user:", core.su)
204 func = core.setSingleUser,
209 entry_type = core.MENU_ENTRY,
212 "erbose :", core.verbose)
214 func = core.setVerbose,
226 if core.isSingleUserBoot() then
231 single_user = core.deepCopyTable(single_user)
232 multi_user = core.deepCopyTable(multi_user)
254 entry_type = core.MENU_SEPARATOR,
257 entry_type = core.MENU_SEPARATOR,
262 entry_type = core.MENU_SEPARATOR,
265 entry_type = core.MENU_SEPARATOR,
274 entry_type = core.MENU_SEPARATOR,
281 entry_type = core.MENU_ENTRY,
293 core.setSingleUser(false)
294 core.boot()
299 entry_type = core.MENU_ENTRY,
305 core.setSingleUser(true)
306 core.boot()
311 entry_type = core.MENU_ENTRY,
313 return color.highlight("C") .. "ons: " .. core.getConsoleName()
316 core.nextConsoleChoice()
321 entry_type = core.MENU_RETURN,
326 alias = {core.KEYSTR_ESCAPE},
329 entry_type = core.MENU_ENTRY,
337 entry_type = core.MENU_CAROUSEL_ENTRY,
339 items = core.kernelList,
366 entry_type = core.MENU_SUBMENU,
372 entry_type = core.MENU_ENTRY,
375 if core.isRewinded() then
382 core.changeRewindCheckpoint()
383 if core.isRewinded() then
385 core.bootenvDefaultRewinded())
387 bootenvSet(core.bootenvDefault())
392 return core.isZFSBoot() and
393 core.isCheckpointed()
398 entry_type = core.MENU_SUBMENU,
400 return core.isZFSBoot() and
401 #core.bootenvList() > 1
408 entry_type = core.MENU_ENTRY,
423 entry_type = core.MENU_SEPARATOR,
428 return core.loaderTooOld()
432 entry_type = core.MENU_ENTRY,
468 if (key == core.KEY_BACKSPACE or key == core.KEY_DELETE) and
471 elseif key == core.KEY_ENTER then
472 core.boot()
516 core.boot()
558 if ch == core.KEY_ENTER then