diff --git a/src/startup.lua b/src/startup.lua index 5399ccc..3d0f995 100644 --- a/src/startup.lua +++ b/src/startup.lua @@ -8,3 +8,9 @@ file.close() --execute sync script 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") +end +shell.run("main/task.lua")