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

16 lines
316 B
Lua
Raw Normal View History

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)()