Closed Sukasa closed 7 years ago
I believe all boot scripts (everything under /boot) are run before init is pushed. I'll review this workflow and fix later.
Ok, there is not a bug with the signaling system here, the issue is that the user profile runs after the init signal, and the user profile changes PS1 and ignores /etc/hostname
Using /oc_spawnComputer to spawn in a computer, I installed openOS and then removed the install disk and rebooted.
I then typed 'hostname test', and then 'reboot'. After rebooting, the hostname does not show up as part of the shell prompt.
Entering the lua interpreter and running "event.push('init')" and closing the Lua interpreter resulted in the hostname showing up as part of the shell prompt. It seems that the "init" event is either being fired before 94_shell.lua can execute, or is not firing at all.