made pkgfs auto-mount when loaded

This commit is contained in:
Izaya 2020-06-06 12:50:50 +10:00
parent 97e559f26f
commit f132c2349f
1 changed files with 2 additions and 0 deletions

View File

@ -111,4 +111,6 @@ function pkgfs.add(fname,comp) -- string boolean -- -- Add a package as specifie
f:close()
end
fs.makeDirectory("/pkg")
fs.mount("/pkg",pkgfs.component)
return pkgfs