startup
This commit is contained in:
parent
512832c235
commit
cff591f562
@ -11,6 +11,8 @@ shell.run("/main/programs/sync.lua")
|
||||
|
||||
--task.lua contains stuff that should be done after boot
|
||||
if not (fs.exists("main/task.lua")) then
|
||||
basic_functions.append_to_file("main/task.lua", "--use this file to execute programs")
|
||||
file = fs.open("main/task.lua", "a")
|
||||
file.writeLine("--use this file to execute programs")
|
||||
file.close()
|
||||
end
|
||||
shell.run("main/task.lua")
|
||||
|
Loading…
Reference in New Issue
Block a user