updated some executables to actually work with the kernel changes
This commit is contained in:
parent
346c6bcf29
commit
0ced41b897
@ -1,5 +1,5 @@
|
||||
print("PID# Parent Name")
|
||||
print("PID# Parent | Name")
|
||||
for k,v in pairs(os.tasks()) do
|
||||
local t = os.taskInfo(v)
|
||||
print(string.format("%4d %4d %s",k,v.parent,v.name))
|
||||
print(string.format("%4d %4d | %s",k,t.parent,t.name))
|
||||
end
|
||||
|
@ -26,6 +26,7 @@ setmetatable(shenv,{__index=function(_,k)
|
||||
if _G[k] then
|
||||
return _G[k]
|
||||
elseif fs.exists("/boot/exec/"..k..".lua") then
|
||||
--[[
|
||||
local rqid = string.format("shell-%d",math.random(1,99999))
|
||||
return function(...)
|
||||
local tA = {...}
|
||||
@ -42,6 +43,8 @@ setmetatable(shenv,{__index=function(_,k)
|
||||
end
|
||||
until tTasks[pid] == nil
|
||||
end
|
||||
]]--
|
||||
return loadfile("/boot/exec/"..k..".lua")
|
||||
end
|
||||
end})
|
||||
print(_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user