Advertisement
subzero22

startup

Sep 2nd, 2014
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)
  3.  
  4. if fs.exists("OS/.computer") == true then
  5.   shell.run("OS/.osprotect")
  6.  if fs.exists("OS/.oslock") == true then
  7.    shell.run("OS/.oslock")
  8.  else
  9.    shell.run("OS/.computer")
  10.  end
  11. else
  12.  if turtle then
  13.    print("Frozen OS is not for turtles. Please install on a computer.")
  14.  else
  15.   shell.run("disk/install")
  16.  end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement