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")())
|
if component.list("gpu")() and component.list("screen")() and component.list("keyboard")() then
|
||||||
log(pcall(function()
|
tty(component.list("gpu")(),component.list("screen")())
|
||||||
local ka = component.list("keyboard")()
|
log(pcall(function()
|
||||||
kbd(ka)
|
local ka = component.list("keyboard")()
|
||||||
end))
|
kbd(ka)
|
||||||
|
end))
|
||||||
|
end
|
||||||
luash()
|
luash()
|
||||||
computer.beep()
|
computer.beep()
|
||||||
|
Loading…
Reference in New Issue
Block a user