Files
neonucleus/data/openos/boot/94_shell.lua
2026-04-01 11:04:22 +02:00

7 lines
275 B
Lua

-- there doesn't seem to be a reason to update $HOSTNAME after the init signal
-- as user space /etc/profile comes after this point anyways
if require("filesystem").exists("/etc/hostname") then
loadfile("/bin/hostname.lua")("--update")
end
os.setenv("SHELL","/bin/sh.lua")