Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local file = fs.open("os/System/Security/Files/ReqFiles.txt","r")
- local Items = textutils.unserialize(file.readAll())
- local Pass = true
- file.close()
- for i = 1, #Items do
- if fs.exists(Items[i]) then
- else
- print("missing ",Items[i])
- Pass = false
- end
- end
- if Pass == false then
- os.sleep(5)
- print("contact A administrator to Replace the files")
- print("shutting down")
- os.sleep(3)
- os.shutdown()
- end
Add Comment
Please, Sign In to add comment