From 6361815eeb7c4e4d8e2bdeeb3f060aee4bbbd37a Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Mon, 12 Jun 2017 23:55:13 +0000 Subject: [PATCH] added a banner to luash, also prints _G.motd now --- modules/applications/luash.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/applications/luash.lua b/modules/applications/luash.lua index 8099f66..fd7b534 100644 --- a/modules/applications/luash.lua +++ b/modules/applications/luash.lua @@ -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("> ")