hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/sysroot/etc/profile
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-12 23:08:48 +0200
committerhachem <im@hachem.wtf>2026-10-12 23:08:48 +0200
commit6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 (patch)
treebb137b732a1d122aeace46c550733f4793d84601 /sysroot/etc/profile
parent59794d0b999e544a94230d9562bf2b99d2ed74c7 (diff)
feat: lib seaHEADmain
Diffstat (limited to 'sysroot/etc/profile')
-rw-r--r--sysroot/etc/profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysroot/etc/profile b/sysroot/etc/profile
new file mode 100644
index 0000000..7cd7a19
--- /dev/null
+++ b/sysroot/etc/profile
@@ -0,0 +1,8 @@
+# acts like .bash_profile or .zsh_profile
+
+const motd_size = fs:size("/etc/motd")
+if motd_size > 0 do
+ puts("\n")
+ puts(fs:read_bytes("/etc/motd", 0, motd_size))
+ puts("\n")
+end