1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-21 11:35:44 -05:00

attempt to load pkgfs if there's a package archive directory

This commit is contained in:
XeonSquared 2023-08-04 20:28:26 +10:00
parent a33476cf00
commit c0f8b9b900

View File

@ -12,6 +12,9 @@ os.spawn(function()
end
os.setenv("HOSTNAME",hostname)
syslog(string.format("Hostname set to %s",hostname))
if fs.exists("/boot/pkg") then
pcall(require,"pkgfs")
end
local pids = {}
local rc = require "rc"
for k,v in pairs(rc.cfg.enabled) do