forked from izaya/OC-PsychOS2
attempt to load pkgfs if there's a package archive directory
This commit is contained in:
parent
a33476cf00
commit
c0f8b9b900
@ -12,6 +12,9 @@ os.spawn(function()
|
|||||||
end
|
end
|
||||||
os.setenv("HOSTNAME",hostname)
|
os.setenv("HOSTNAME",hostname)
|
||||||
syslog(string.format("Hostname set to %s",hostname))
|
syslog(string.format("Hostname set to %s",hostname))
|
||||||
|
if fs.exists("/boot/pkg") then
|
||||||
|
pcall(require,"pkgfs")
|
||||||
|
end
|
||||||
local pids = {}
|
local pids = {}
|
||||||
local rc = require "rc"
|
local rc = require "rc"
|
||||||
for k,v in pairs(rc.cfg.enabled) do
|
for k,v in pairs(rc.cfg.enabled) do
|
||||||
|
Loading…
Reference in New Issue
Block a user