From 4ef342117619c924514203c8b21c33445b80b4b8 Mon Sep 17 00:00:00 2001 From: brulijam Date: Sun, 2 Jun 2024 17:01:56 +0200 Subject: [PATCH] updated startup --- src/startup.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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")