Lines Matching refs:core
33 local core = require("core")
43 entry_type = core.MENU_RETURN,
70 [core.MENU_ENTRY] = function(_, entry)
74 [core.MENU_CAROUSEL_ENTRY] = function(_, entry)
88 [core.MENU_SUBMENU] = function(_, entry)
91 [core.MENU_RETURN] = function(_, entry)
106 entry_type = core.MENU_CAROUSEL_ENTRY,
108 items = core.bootenvList,
134 entry_type = core.MENU_ENTRY,
136 return core.isRewinded() == false
140 core.bootenvDefault()
145 bootenvSet(core.bootenvDefault())
158 entry_type = core.MENU_ENTRY,
161 func = core.setDefaults,
165 entry_type = core.MENU_SEPARATOR,
168 entry_type = core.MENU_SEPARATOR,
173 entry_type = core.MENU_ENTRY,
174 visible = core.isSystem386,
177 "CPI :", core.acpi)
179 func = core.setACPI,
184 entry_type = core.MENU_ENTRY,
187 "ode :", core.sm)
189 func = core.setSafeMode,
194 entry_type = core.MENU_ENTRY,
197 "ingle user:", core.su)
199 func = core.setSingleUser,
204 entry_type = core.MENU_ENTRY,
207 "erbose :", core.verbose)
209 func = core.setVerbose,
221 if core.isSingleUserBoot() then
226 single_user = core.deepCopyTable(single_user)
227 multi_user = core.deepCopyTable(multi_user)
249 entry_type = core.MENU_SEPARATOR,
252 entry_type = core.MENU_SEPARATOR,
264 entry_type = core.MENU_ENTRY,
271 core.setSingleUser(false)
272 core.boot()
277 entry_type = core.MENU_ENTRY,
283 core.setSingleUser(true)
284 core.boot()
289 entry_type = core.MENU_ENTRY,
291 return color.highlight("C") .. "ons: " .. core.getConsoleName()
294 core.nextConsoleChoice()
299 entry_type = core.MENU_RETURN,
304 alias = {core.KEYSTR_ESCAPE},
307 entry_type = core.MENU_ENTRY,
315 entry_type = core.MENU_CAROUSEL_ENTRY,
317 items = core.kernelList,
347 entry_type = core.MENU_SUBMENU,
353 entry_type = core.MENU_ENTRY,
356 if core.isRewinded() then
363 core.changeRewindCheckpoint()
364 if core.isRewinded() then
366 core.bootenvDefaultRewinded())
368 bootenvSet(core.bootenvDefault())
373 return core.isZFSBoot() and
374 core.isCheckpointed()
379 entry_type = core.MENU_SUBMENU,
381 return core.isZFSBoot() and
382 #core.bootenvList() > 1
389 entry_type = core.MENU_ENTRY,
434 if (key == core.KEY_BACKSPACE or key == core.KEY_DELETE) and
437 elseif key == core.KEY_ENTER then
438 core.boot()
482 core.boot()
523 if ch == core.KEY_ENTER then