Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function reload()
- os.unloadAPI("UEFI")
- os.loadAPI("UEFI")
- end
- function I()
- UEFI.edit("/UEFI")
- reload()
- UEFI.boot()
- end
- function edit(path)
- os.run({},"/rom/programs/edit",path)
- end
- function shell.resolve(arg)
- return arg
- end
- function boot()
- _G.shell = nil
- os.unloadAPI("UEFI")
- term.clear()
- term.setCursorPos(1,1)
- if term.isColor() then
- os.run({},"/rom/programs/advanced/multishell")
- else
- os.run({},"/rom/programs/shell")
- end
- end
- _G.t = function()
- _G.shell = nil
- end
Add Comment
Please, Sign In to add comment