better startup

This commit is contained in:
kepler155c@gmail.com 2017-09-25 17:02:28 -04:00
parent f325550de2
commit c6367c44ae
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ if not fs.exists('usr/autorun') then
fs.makeDir('usr/autorun')
end
if not fs.exists('usr/etc/fstab') then
Util.writeFile('usr/etc/fstab', 'usr gitfs kepler155c/opus-apps/master')
local file = io.open('usr/etc/fstab', "w")
file:write('usr gitfs kepler155c/opus-apps/master')
file:close()
end
local dir = 'sys/extensions'