Guest User

UEFI

a guest
Mar 13th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. function edit(arg)
  2.   os.run({},"/rom/programs/edit",arg)
  3. end
  4.  
  5. function shell.resolve(arg)
  6.   return arg
  7. end
  8.  
  9. function boot()
  10.   _G.shell = nil
  11.   term.clear()
  12.   term.setCursorPos(1,1)
  13.   print("Note: Rednet is not running. Execute rednet.run() in order to begin the thread")
  14.   if term.isColor() then
  15.     os.run({},"/rom/programs/advanced/multishell")
  16.   else
  17.     os.run({},"/rom/programs/shell")
  18.   end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment