Hi,

On 09/07/2024 17:06, michal.lyszc...@bofc.pl wrote:
I think I would be good if nuttx had something like /sbin/init that would
do some very simple service management. Then you could just tick
"Start NSH after boot up".

I think you can already do this by writing an init app and using that to spawn a shell.

Which is wasteful on small systems since you can start the shell directly and save memory.

Also, nsh can execute startup scripts, which are more flexible than your suggestion.

A few months ago, these scripts were linked to a rigid romfs automount system which made the whole thing very cumbersome.

But it's more flexible now, it was improved and the romfs can be customized.

Sebastien

Reply via email to