Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- function dl(url, name)
- --Shamelessly stolen from gollark's skynet
- print("Downloading ".. name)
- local a=http.get(url)local b=fs.open(name,"w")b.write(a.readAll())a.close()
- end
- if settings.get("shutdownos.dontnuke") then
- --Deletes leftover files
- for _, file in pairs(fs.list "/") do
- if not fs.isReadOnly(file) or fs.getName(file) == ".settings" then
- fs.delete(file)
- end
- end
- end
- --Prevents a method to disable boot up
- settings.set("shell.allow_startup", true)
- --Prevents an uninstallation method
- settings.set("shell.allow_disk_startup", false)
- --Sets the password to Not Set
- if settings.get("shutdownos.password") then
- print("Existing install detected.")
- else
- settings.set("shutdownos.password", "Not Set")
- end
- --Debugging
- --settings.set("shutdownos.shell", true)
- --Saves the settings
- settings.save(".settings")
- --Crash Manager
- dl("https://pastebin.com/raw/yV5RbFQH", "startup")
- --Core
- dl("https://pastebin.com/raw/tnfiMuKP", "core")
- --Bundled Program Crash Manager
- dl("https://pastebin.com/raw/ZPgjSPBP", "noshell")
- --Skynet (Required API for networking)
- dl("https://raw.githubusercontent.com/osmarks/skynet/master/client.lua", "skynet")
- --Potato Farm (Required for PotatOS command)
- dl("https://pastebin.com/raw/2rsUWAMa", "potatofarm")
- --ShutdownEdit (Edit without the Run feature)
- dl("https://pastebin.com/raw/C0NWVyMw", "shutdownedit")
- --Bundled programs (Not required but spices stuff up)
- dl("https://raw.githubusercontent.com/LDDestroier/CC/master/tron.lua", "/programs/tron")
- dl("https://raw.githubusercontent.com/Ale32bit/Loading/master/loading.lua", "/programs/loading")
- dl("https://raw.githubusercontent.com/osmarks/Loading/master/loading.lua", "/programs/loadingfork")
- dl("https://pastebin.com/raw/wYBZjQhN", "/programs/potatoplex")
- dl("https://pastebin.com/raw/FHwuDkQD", "/programs/screensaver")
- dl("https://pastebin.com/raw/styiy98d", "/programs/sctracker")
- --Reupload because there is no standalone version (Original: "https://pastebin.com/raw/wKdMTPwQ)
- dl("https://pastebin.com/raw/50MrT2fG", "/programs/potatonet")
- dl("https://pastebin.com/raw/tDe6g6gw", "/programs/jumpinggame")
- dl("https://pastebin.com/raw/SFuBaAKT", "/programs/infloop")
- dl("https://github.com/LDDestroier/enchat/raw/master/enchat3.lua", "/programs/enchat3")
- dl("https://pastebin.com/raw/bj3qj1Pj", "/programs/strafe")
- dl("https://pastebin.com/raw/L7Ns6qiD", "/programs/dembois")
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment