View difference between Paste ID: Dz03jHxX and TUUQZsGv
SHOW: | | - or go back to the newest paste.
1-
function edit(arg)
1+
function reload()
2-
  os.run({},"/rom/programs/edit",arg)
2+
  os.unloadAPI("UEFI")
3
  os.loadAPI("UEFI")
4
end
5
function I()
6
  UEFI.edit("/UEFI")
7
  reload()
8
  UEFI.boot()
9
end
10
11
function edit(path)
12
  os.run({},"/rom/programs/edit",path)
13-
  print("Note: Rednet is not running. Execute rednet.run() in order to begin the thread")
13+
14
15
16
function shell.resolve(arg)
17
  return arg
18
end
19
20
function boot()
21
   _G.shell = nil
22
   os.unloadAPI("UEFI")
23
  term.clear()
24
  term.setCursorPos(1,1)
25
  if term.isColor() then
26
    os.run({},"/rom/programs/advanced/multishell")
27
  else
28
    os.run({},"/rom/programs/shell")
29
  end
30
end
31
32
_G.t = function()
33
  _G.shell = nil
34
end