hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.rv
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.rv')
-rw-r--r--kernel/main.rv4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/main.rv b/kernel/main.rv
index 3363bde..67850d5 100644
--- a/kernel/main.rv
+++ b/kernel/main.rv
@@ -15,6 +15,10 @@ if (disk_sectors() != 0 and fs.ready == :false) do
seed_fs()
end
+if fs:size("/etc/profile") >= 0 do
+ run_script_path("/etc/profile", "profile", make_ctx("", { "" }))
+end
+
# lung will be happy
const default_face = load_ttf("/fonts/terminess.ttf", 32)
if default_face != :nil do