1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-10 21:37:43 +00:00

reorganization

This commit is contained in:
kepler155c@gmail.com
2017-09-15 01:08:04 -04:00
parent b5ee5db16b
commit 64c68f2662
54 changed files with 175 additions and 15800 deletions

View File

@@ -1,6 +1,6 @@
print('\nStarting Opus..')
LUA_PATH = '/sys/apis'
LUA_PATH = '/sys/apis:/usr/apis'
local Util = dofile('sys/apis/util.lua')
_G.debug = function(...) Util.print(...) end
@@ -15,7 +15,7 @@ if not s then
end
-- process fstab
local mounts = Util.readFile('sys/etc/fstab')
local mounts = Util.readFile('usr/etc/fstab')
if mounts then
for _,l in ipairs(Util.split(mounts)) do
if l:sub(1, 1) ~= '#' then
@@ -25,6 +25,8 @@ if mounts then
end
end
fs.mount('usr', 'gitfs', 'kepler155c', 'opus-apps', 'develop')
-- user environment
if not fs.exists('usr/apps') then
fs.makeDir('usr/apps')