.
This commit is contained in:
parent
c2d3706d36
commit
e9f8ddf9e6
@ -39,10 +39,12 @@ file.close()
|
|||||||
--task.lua contains stuff that should be done after boot
|
--task.lua contains stuff that should be done after boot
|
||||||
if not (fs.exists("brulijam/task.lua")) then
|
if not (fs.exists("brulijam/task.lua")) then
|
||||||
file = fs.open("brulijam/task.lua", "a")
|
file = fs.open("brulijam/task.lua", "a")
|
||||||
|
file.writeLine("local basic = require(\"lib.basic\")")
|
||||||
file.writeLine("print(\"Running /brulijam/task.lua in 5 seconds.\")")
|
file.writeLine("print(\"Running /brulijam/task.lua in 5 seconds.\")")
|
||||||
file.writeLine("sleep(5)")
|
file.writeLine("sleep(5)")
|
||||||
file.writeLine("--use this file to execute programs")
|
file.writeLine("--put shell.run(\"somescript.lua\") here")
|
||||||
file.writeLine("")
|
file.writeLine("")
|
||||||
|
file.writeLine("basic.clearDisplay()")
|
||||||
file.close()
|
file.close()
|
||||||
end
|
end
|
||||||
shell.run("brulijam/task.lua")
|
shell.run("brulijam/task.lua")
|
||||||
|
Loading…
Reference in New Issue
Block a user