Advertisement
therealinsight

SSOS startup

Jun 23rd, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.74 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos( 1, 1 )
  3. write("\nBSC SSOS Leap (SSOS v0.1) Booting...")
  4.  
  5. if term.isColor() then
  6.     write(colors.yellow .. "\nDetected Advanced Computer.")
  7.     local compinf = fs.open("/sys/compinf",'w')
  8.     compinf.writeLine("Advanced")
  9.     compinf.close()
  10.     write("\nUpdated compinf file")
  11. end
  12. if term.isColor() == false then
  13.     write("\nDetected Normal Computer")
  14.     local compinf = fs.open("/sys/compinf",'w')
  15.     compinf.writeLine("Normal")
  16.     compinf.close()
  17.     write("\nUpdated compinf file")
  18. end
  19.  
  20.  
  21. shell.setPath(".:/sys/")
  22. write("\nPath set to SSOS System Files")
  23.  
  24. write("\nLoaded SSOS Safe APIS")
  25.  
  26. write("\nUnloaded SSOS Unsafe APIS")
  27.  
  28. write("\nAVRU System Check Engaged")
  29.  
  30. write("\n")
  31.  
  32. write("\nBSC SSOS Leap (SSOS v0.1)")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement