Skip to content
Snippets Groups Projects
Commit 0238fc92 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Lua: add optional additional init script, loaded at start up.

parent 06d2ef67
No related branches found
No related tags found
No related merge requests found
......@@ -122,3 +122,8 @@ function box.on_reload_configuration()
end
end
end
local initfile = io.open("init.lua")
if initfile ~= nil then
io.close(initfile)
dofile("init.lua")
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment