startup.lua

33 lines · 725 B

Open raw

eHydra System Startup

Copy & run

wget https://perlytiara.github.io/turtles.tips/raw/programs/perlytiara/eHydra_wip/startup.lua
1-- eHydra System Startup
2-- Quick access to eHydra tools
3
4print("eHydra System v1.0")
5print("==================")
6print("1. Auto-updater")
7print("2. Batch updater")
8print("3. Initialize turtle")
9print("4. Deploy turtles")
10print("5. Self-update eHydra")
11print("6. Restore backups")
12print("7. Exit")
13print()
14
15write("Select tool [1-7]: ")
16local choice = tonumber(read()) or 7
17
18if choice == 1 then
19 shell.run("autoupdater")
20elseif choice == 2 then
21 shell.run("batch_updater")
22elseif choice == 3 then
23 shell.run("init")
24elseif choice == 4 then
25 shell.run("turtle_deployer")
26elseif choice == 5 then
27 shell.run("self_update")
28elseif choice == 6 then
29 shell.run("restore_backups")
30else
31 print("Goodbye!")
32end
33