convert luash to a fwrappable program

This commit is contained in:
Izaya 2017-09-13 12:52:03 +10:00
parent f1f1d21ab6
commit cce84dc5c5
4 changed files with 5 additions and 5 deletions

View File

@ -19,8 +19,8 @@ modules/lib/sha256.lua
modules/lib/userlib.lua modules/lib/userlib.lua
modules/net/net-ext.lua modules/net/net-ext.lua
modules/applications/login.lua modules/applications/login.lua
modules/applications/luash.lua
modules/applications/genkernel.lua modules/applications/genkernel.lua
fwrap luash exec/luash.lua
fwrap skex exec/skex2.lua fwrap skex exec/skex2.lua
fwrap nshd exec/nshd.lua fwrap nshd exec/nshd.lua
fwrap nsh exec/nsh.lua fwrap nsh exec/nsh.lua

View File

@ -17,7 +17,7 @@ modules/lib/sha256.lua
modules/lib/userlib.lua modules/lib/userlib.lua
modules/net/net-ext.lua modules/net/net-ext.lua
modules/applications/login.lua modules/applications/login.lua
modules/applications/luash.lua fwrap luash exec/luash.lua
modules/applications/genkernel.lua modules/applications/genkernel.lua
fwrap skex exec/skex2.lua fwrap skex exec/skex2.lua
fwrap nshd exec/nshd.lua fwrap nshd exec/nshd.lua

View File

@ -19,7 +19,7 @@ modules/lib/sha256.lua
modules/lib/userlib.lua modules/lib/userlib.lua
modules/net/net-ext.lua modules/net/net-ext.lua
modules/applications/login.lua modules/applications/login.lua
modules/applications/luash.lua fwrap luash exec/luash.lua
modules/applications/genkernel.lua modules/applications/genkernel.lua
modules/util/fs-automount.lua modules/util/fs-automount.lua
modules/setup.lua modules/setup.lua

View File

@ -1,4 +1,5 @@
function luash(si) local tA = {...}
local si =
spawn("lua shell",function() spawn("lua shell",function()
coroutine.yield() coroutine.yield()
log(login()) log(login())
@ -45,4 +46,3 @@ spawn("lua shell",function()
end end
end end
end,{sI=si}) end,{sI=si})
end