made setup.lua spawn nshd on headless systems
This commit is contained in:
parent
e82af803ab
commit
621cc397a2
@ -1,9 +1,11 @@
|
||||
if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() then
|
||||
if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() and tty and kbd then
|
||||
tty(component.list("gpu")(),component.list("screen")())
|
||||
log(pcall(function()
|
||||
local ka = component.list("keyboard")()
|
||||
kbd(ka)
|
||||
end))
|
||||
elseif nshd then
|
||||
nshd(23)
|
||||
end
|
||||
luash()
|
||||
computer.beep()
|
||||
|
Loading…
Reference in New Issue
Block a user