added msh, the most minimal shell I could implement decently (just a lua prompt), added it to the minimal config, aliased lush to shell in the other versions
This commit is contained in:
parent
83a84ea117
commit
d736491628
@ -28,7 +28,8 @@ libwrap sha modules/lib/sha256.lua
|
|||||||
modules/net/net-ext.lua
|
modules/net/net-ext.lua
|
||||||
modules/applications/login.lua
|
modules/applications/login.lua
|
||||||
modules/applications/genkernel.lua
|
modules/applications/genkernel.lua
|
||||||
fwrap luash exec/lush.lua
|
fwrap lush exec/lush.lua
|
||||||
|
alias shell lush
|
||||||
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
|
||||||
|
@ -25,7 +25,8 @@ alias shutil.mv fs.mv
|
|||||||
modules/lib/sha256.lua
|
modules/lib/sha256.lua
|
||||||
modules/net/net-ext.lua
|
modules/net/net-ext.lua
|
||||||
modules/applications/login.lua
|
modules/applications/login.lua
|
||||||
fwrap luash exec/lush.lua
|
fwrap lush exec/lush.lua
|
||||||
|
alias shell lush
|
||||||
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
|
||||||
|
@ -23,7 +23,7 @@ alias shutil.mv fs.mv
|
|||||||
libwrap sha modules/lib/sha256.lua
|
libwrap sha modules/lib/sha256.lua
|
||||||
modules/net/net-ext.lua
|
modules/net/net-ext.lua
|
||||||
modules/applications/login.lua
|
modules/applications/login.lua
|
||||||
fwrap luash exec/lush.lua
|
fwrap shell exec/msh.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
|
||||||
|
5
exec/msh.lua
Normal file
5
exec/msh.lua
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
while true do
|
||||||
|
local line = readln()
|
||||||
|
if not line then break end
|
||||||
|
print(pcall(load(line)))
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user