mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-12-28 05:14:01 -05:00
12 lines
239 B
Lua
12 lines
239 B
Lua
|
local rpcs = require "rpc"
|
||
|
local ufs = require "unionfs"
|
||
|
|
||
|
local tA = {...}
|
||
|
local path = "/"..table.concat(fs.segments(tA[1]),"/")
|
||
|
|
||
|
local px = ufs.create(path)
|
||
|
for k,v in pairs(px) do
|
||
|
rpcs.register(path.."_"..k,v)
|
||
|
print(path.."_"..k)
|
||
|
end
|