OC-PsychOS2/exec/init.lua

9 lines
265 B
Lua
Raw Normal View History

2019-10-27 23:34:02 +11:00
xpcall(function()
io.input("/dev/tty0")
io.output("/dev/tty0")
os.setenv("PWD","/boot")
io.write("PsychOS v2.0a1 - ")
print(tostring(math.floor(computer.totalMemory()/1024)).."K RAM")
os.spawnfile("/boot/exec/shell.lua")
end,function(e) dprint(e) end,"init test")