mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 02:12:42 -04:00
Ninjafix unbootable floppy
This commit is contained in:
parent
ceb79a5baf
commit
7b69bf4cab
@ -1,5 +1,8 @@
|
||||
local component = {}
|
||||
local rawComponent = kernel._K.component
|
||||
component = {}
|
||||
|
||||
kernel.userspace.component = component
|
||||
kernel._K.component = component
|
||||
|
||||
kernelGroup = {
|
||||
adding = {},
|
||||
@ -17,7 +20,7 @@ end
|
||||
|
||||
component.doc = function(addr, method)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.doc(addr, method)
|
||||
return rawComponent.doc(addr, method)
|
||||
else
|
||||
error("no such component")
|
||||
end
|
||||
@ -25,7 +28,7 @@ end
|
||||
|
||||
component.invoke = function(addr, ...)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.invoke(addr, ...)
|
||||
return rawComponent.invoke(addr, ...)
|
||||
else
|
||||
error("no such component")
|
||||
end
|
||||
@ -33,7 +36,7 @@ end
|
||||
|
||||
component.list = function(filter, exact)
|
||||
local list = {}
|
||||
for k, v in pairs(kernel._K.component.list(filter, not not exact)) do
|
||||
for k, v in pairs(rawComponent.list(filter, not not exact)) do
|
||||
if allow(k) then
|
||||
list[k] = v
|
||||
end
|
||||
@ -49,7 +52,7 @@ end
|
||||
|
||||
component.methods = function(addr)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.methods(addr)
|
||||
return rawComponent.methods(addr)
|
||||
else
|
||||
return nil, "no such component"
|
||||
end
|
||||
@ -57,7 +60,7 @@ end
|
||||
|
||||
component.fields = function(addr)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.fields(addr)
|
||||
return rawComponent.fields(addr)
|
||||
else
|
||||
return nil, "no such component"
|
||||
end
|
||||
@ -65,7 +68,7 @@ end
|
||||
|
||||
component.proxy = function(addr)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.proxy(addr)
|
||||
return rawComponent.proxy(addr)
|
||||
else
|
||||
return nil, "no such component"
|
||||
end
|
||||
@ -73,7 +76,7 @@ end
|
||||
|
||||
component.type = function(addr)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.type(addr)
|
||||
return rawComponent.type(addr)
|
||||
else
|
||||
return nil, "no such component"
|
||||
end
|
||||
@ -81,7 +84,7 @@ end
|
||||
|
||||
component.slot = function(addr)
|
||||
if allow(addr) then
|
||||
return kernel._K.component.slot(addr)
|
||||
return rawComponent.slot(addr)
|
||||
else
|
||||
return nil, "no such component"
|
||||
end
|
||||
|
@ -1 +1 @@
|
||||
{database="/var/lib/mpt/base.db",cacheDir="/var/lib/mpt/cache/",frontend={mpt={api="http://mpt.magik6k.net/api/"}}}
|
||||
{database="/var/lib/mpt/base.db",frontend={mpt={api="http://mpt.magik6k.net/api/"}},cacheDir="/var/lib/mpt/cache/"}
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user