From c6367c44ae192ab130405609c9e943f421c664b9 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Mon, 25 Sep 2017 17:02:28 -0400 Subject: [PATCH] better startup --- sys/boot/multishell.boot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/boot/multishell.boot b/sys/boot/multishell.boot index c97177a..61ab686 100644 --- a/sys/boot/multishell.boot +++ b/sys/boot/multishell.boot @@ -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'