mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-22 20:10:34 -05:00
replaced the dummy fd with one that logs to a file
This commit is contained in:
parent
a29fc154a0
commit
604532eb6c
@ -7,11 +7,5 @@ for a,_ in component.list("gpu") do
|
|||||||
fd[#fd+1] = {["read"]=r,["write"]=w,["close"]=function() w("\27[2J\27[H") end,["t"]="t"}
|
fd[#fd+1] = {["read"]=r,["write"]=w,["close"]=function() w("\27[2J\27[H") end,["t"]="t"}
|
||||||
end
|
end
|
||||||
if #fd < 1 then
|
if #fd < 1 then
|
||||||
local fdi,nfd = io.newfd()
|
io.open("/boot/console.log","a")
|
||||||
function nfd.read()
|
|
||||||
end
|
|
||||||
function nfd.write()
|
|
||||||
end
|
|
||||||
function nfd.close()
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user