added a banner to luash, also prints _G.motd now

This commit is contained in:
Izaya 2017-06-12 23:55:13 +00:00
parent d122d67c51
commit 6361815eeb
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
function luash(si)
s("lua shell",function()
if _OSVERSION and _BD then
write(_OSVERSION.." (built at ".._BD..")\t")
end
print(tostring(computer.freeMemory()/1024).."K free.",_G.motd)
print(_VERSION)
while true do
write("> ")