made it only spawn a tty and keyboard driver when the machine has the hardware
This commit is contained in:
parent
219d3a8326
commit
45d0b85887
@ -1,7 +1,9 @@
|
||||
tty(component.list("gpu")(),component.list("screen")())
|
||||
log(pcall(function()
|
||||
local ka = component.list("keyboard")()
|
||||
kbd(ka)
|
||||
end))
|
||||
if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() then
|
||||
tty(component.list("gpu")(),component.list("screen")())
|
||||
log(pcall(function()
|
||||
local ka = component.list("keyboard")()
|
||||
kbd(ka)
|
||||
end))
|
||||
end
|
||||
luash()
|
||||
computer.beep()
|
||||
|
Loading…
Reference in New Issue
Block a user