neonucleus/data/OpenOS/boot/94_shell.lua
IonutParau 687cfebd00 testing version of LuaBIOS and OpenOS
people were having issues getting them to work so now we promote consistency
2025-06-28 20:41:49 +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")