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,
137 core.bootenvDefault()
142 bootenvSet(core.bootenvDefault())
155 entry_type = core.MENU_ENTRY,
158 func = core.setDefaults,
162 entry_type = core.MENU_SEPARATOR,
165 entry_type = core.MENU_SEPARATOR,
170 entry_type = core.MENU_ENTRY,
171 visible = core.isSystem386,
174 "CPI :", core.acpi)
176 func = core.setACPI,
181 entry_type = core.MENU_ENTRY,
184 "ode :", core.sm)
186 func = core.setSafeMode,
191 entry_type = core.MENU_ENTRY,
194 "ingle user:", core.su)
196 func = core.setSingleUser,
201 entry_type = core.MENU_ENTRY,
204 "erbose :", core.verbose)
206 func = core.setVerbose,
216 if core.isSingleUserBoot() then
222 menu_entries = core.deepCopyTable(menu_entries)
239 entry_type = core.MENU_ENTRY,
246 core.setSingleUser(false)
247 core.boot()
253 entry_type = core.MENU_ENTRY,
259 core.setSingleUser(true)
260 core.boot()
266 entry_type = core.MENU_RETURN,
271 alias = {core.KEYSTR_ESCAPE},
275 entry_type = core.MENU_ENTRY,
283 entry_type = core.MENU_SEPARATOR,
286 entry_type = core.MENU_SEPARATOR,
291 entry_type = core.MENU_CAROUSEL_ENTRY,
293 items = core.kernelList,
324 entry_type = core.MENU_SUBMENU,
331 entry_type = core.MENU_SUBMENU,
333 return core.isZFSBoot() and
334 #core.bootenvList() > 1
342 entry_type = core.MENU_ENTRY,
387 if (key == core.KEY_BACKSPACE or key == core.KEY_DELETE) and
390 elseif key == core.KEY_ENTER then
391 core.boot()
435 core.boot()
477 if ch == core.KEY_ENTER then