added some modules to run nsh and a file at startup \o/
This commit is contained in:
parent
a70b40d394
commit
ab636ef655
7
modules/util/autoexec.lua
Normal file
7
modules/util/autoexec.lua
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
do
|
||||||
|
local f=io.open("/boot/autoexec.lua")
|
||||||
|
if f then
|
||||||
|
pcall(load(f:read("*a")))
|
||||||
|
f:close()
|
||||||
|
end
|
||||||
|
end
|
3
modules/util/autonsh.lua
Normal file
3
modules/util/autonsh.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
_G.pass = "PASSWORD"
|
||||||
|
nshd("nsh")
|
||||||
|
nshds("nshs",pass)
|
Loading…
Reference in New Issue
Block a user