Lines Matching refs: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,
267 entry_type = core.MENU_SEPARATOR,
274 entry_type = core.MENU_ENTRY,
286 core.setSingleUser(false)
287 core.boot()
292 entry_type = core.MENU_ENTRY,
298 core.setSingleUser(true)
299 core.boot()
304 entry_type = core.MENU_ENTRY,
306 return color.highlight("C") .. "ons: " .. core.getConsoleName()
309 core.nextConsoleChoice()
314 entry_type = core.MENU_RETURN,
319 alias = {core.KEYSTR_ESCAPE},
322 entry_type = core.MENU_ENTRY,
330 entry_type = core.MENU_CAROUSEL_ENTRY,
332 items = core.kernelList,
362 entry_type = core.MENU_SUBMENU,
368 entry_type = core.MENU_ENTRY,
371 if core.isRewinded() then
378 core.changeRewindCheckpoint()
379 if core.isRewinded() then
381 core.bootenvDefaultRewinded())
383 bootenvSet(core.bootenvDefault())
388 return core.isZFSBoot() and
389 core.isCheckpointed()
394 entry_type = core.MENU_SUBMENU,
396 return core.isZFSBoot() and
397 #core.bootenvList() > 1
404 entry_type = core.MENU_ENTRY,
419 entry_type = core.MENU_SEPARATOR,
424 return core.loaderTooOld()
428 entry_type = core.MENU_ENTRY,
464 if (key == core.KEY_BACKSPACE or key == core.KEY_DELETE) and
467 elseif key == core.KEY_ENTER then
468 core.boot()
512 core.boot()
553 if ch == core.KEY_ENTER then