require rework round 3

This commit is contained in:
kepler155c@gmail.com
2019-01-26 22:58:02 -05:00
parent 496e95a6c4
commit b320c92551
4 changed files with 24 additions and 44 deletions

View File

@@ -44,6 +44,8 @@ for _, v in pairs(Util.split(shell.path(), '(.-):')) do
end
shell.setPath(table.concat(path, ':'))
_G.LUA_PATH = config.lua_path
-- TODO: replace when stable (old lua path is now incorrect)
-- _G.LUA_PATH = config.lua_path
_G.LUA_PATH = package.path
fs.loadTab('usr/config/fstab')