I am looking to have a certain command start when i boot up my rasberry pi. This is to fix the xbox 360 blinking light problem. I found this is the only solution that works.
xboxdrv --detach-kernel-driver --trigger-as-button --wid 0 --led 2 --deadzone 4000 --silent & sleep 1
However, upon restart its back to acting up. I tried following https://github.com/recalbox/recalbox-os/wiki/Add-your-own-startup-script-(EN)
but i got lost at :::copy S02serial to your new script ::: When i try to write to it it keeps telling me its read only file system
Any help would be amazing!!