Help with starting an automatic script on start up
-
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 systemAny help would be amazing!!
-
why don't you enable the xboxdrv in the recalbox.conf ?
-
Create below file and put in your command
/recalbox/share/system/custom.shMake it executable
chmod +x custom.sh/recalbox/share/system/custom.sh (if exists) is ran at boot.