I want to autorun a python script as root just when the yocto boot finishes.
I have tried to put the script on the /etc/init.d file and then use the command:
->update-rc.d script.py defaults 99
but when I restart the board it appears the following error:
/etc/init.d/rc: line 56: /etc/rc5.d/S99script.py: Permission denied
Do you know how to solve this or any other way to autorun a script on startup?
Thank you in advance