1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-09 20:08:06 +11:00
OC-Minitel/Embedded/init-wrapper.lua

16 lines
316 B
Lua

local c = ""
do
function net.hook.sender(to,vport,data,packetType,packetID)
if et == "net_send" then
net.send(to,vport,data,packetType,packetID)
end
end
local fs = component.proxy(computer.getBootAddress())
local fh,b = fs.open("boot.lua"),""
repeat
b=fs.read(fh,4096) or ""
c=c..b
until b == ""
end
load(c)()