Browse Source

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

master
XeonSquared 9 months ago
parent
commit
c0f8b9b900
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      module/init.lua

+ 3
- 0
module/init.lua 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


Loading…
Cancel
Save