Переглянути джерело

replaced the dummy fd with one that logs to a file

pull/1/head
XeonSquared 5 роки тому
джерело
коміт
604532eb6c
1 змінених файлів з 1 додано та 7 видалено
  1. +1
    -7
      module/createterms.lua

+ 1
- 7
module/createterms.lua Переглянути файл

@@ -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"}
end
if #fd < 1 then
local fdi,nfd = io.newfd()
function nfd.read()
end
function nfd.write()
end
function nfd.close()
end
io.open("/boot/console.log","a")
end

Завантаження…
Відмінити
Зберегти