We are having trouble with getting start up scripts to work on our Yocto build and require help from a skilled forum i.e. you.
The Yocto system uses the sysvinit to boot scripts at startup, but the ones we put into place do not seem to get run.
We have made a script that we would like to have executed at startup (and preferably if the script crashes as well). It has been placed in the /etc/init.d folder with permissions 0755. Group and user is the same as all the others in that folder root and root. We have tried registrering it with update-rc.d placing it in runlevels S,2,3,4,5 as symbolic links with the right format SXXname. The script we used has the start, stop, restart and usage (*) properties, but still does not fire.
We have even tried copying the qmuxd script in the init.d folder and removed everything that was not an echo within each command (start, stop, restart, usage) and changed the text so that it would be easily recognizable and still it does not fire. We even tried adding cronie to the build through recipes and this was not fired during startup either (didn’t have S level on that though, but still).
All the scripts work when I do them manually.
There are apparently no difference in rights, group or user. The shebang is the same (#! /bin/sh) so it is all very strange.
Any help would be greatly appreciated as we are running out of time fast.
Thank you.