1
0
mirror of https://github.com/kepler155c/opus synced 2026-05-03 20:11:24 +00:00

network group wip + virtual dirs + better trust

This commit is contained in:
kepler155c@gmail.com
2019-04-08 09:30:47 -04:00
parent 9413785248
commit 70733ab4f2
8 changed files with 92 additions and 31 deletions

View File

@@ -6,7 +6,15 @@ local device = _G.device
local kernel = _G.kernel
local os = _G.os
_G.network = { }
do
local config = Config.load('os')
_G.network = setmetatable({ }, { __index = {
getGroup = function() return config.group end,
setGroup = function(name)
config.group = name
end
}})
end
local function startNetwork()
kernel.run({