Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153029706
D16816.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16816.id.diff
View Options
Index: head/stand/lua/core.lua
===================================================================
--- head/stand/lua/core.lua
+++ head/stand/lua/core.lua
@@ -310,14 +310,6 @@
end
function core.isSerialBoot()
- local c = loader.getenv("console")
-
- if c ~= nil then
- if c:find("comconsole") ~= nil then
- return true
- end
- end
-
local s = loader.getenv("boot_serial")
if s ~= nil then
return true
@@ -336,14 +328,6 @@
-- Is the menu skipped in the environment in which we've booted?
function core.isMenuSkipped()
- if core.isSerialBoot() then
- return true
- end
- local c = string.lower(loader.getenv("console") or "")
- if c:match("^efi[ ;]") ~= nil or c:match("[ ;]efi[ ;]") ~= nil then
- return true
- end
-
c = string.lower(loader.getenv("beastie_disable") or "")
return c == "yes"
end
Index: head/stand/lua/screen.lua
===================================================================
--- head/stand/lua/screen.lua
+++ head/stand/lua/screen.lua
@@ -38,17 +38,10 @@
screen.default_y = 25
function screen.clear()
- if core.isSerialBoot() then
- return
- end
printc(core.KEYSTR_CSI .. "H" .. core.KEYSTR_CSI .. "J")
end
function screen.setcursor(x, y)
- if core.isSerialBoot() then
- return
- end
-
printc(core.KEYSTR_CSI .. y .. ";" .. x .. "H")
end
@@ -71,9 +64,6 @@
end
function screen.defcursor()
- if core.isSerialBoot() then
- return
- end
screen.setcursor(screen.default_x, screen.default_y)
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 5:48 PM (15 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31787032
Default Alt Text
D16816.id.diff (1 KB)
Attached To
Mode
D16816: Remove a bunch of special cases for UEFI and serial consoles. We do want to do curses and menu things here.
Attached
Detach File
Event Timeline
Log In to Comment