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 system

    Any help would be amazing!!



  • why don't you enable the xboxdrv in the recalbox.conf ?



  • @blackmagik

    Create below file and put in your command
    /recalbox/share/system/custom.sh

    Make it executable
    chmod +x custom.sh

    /recalbox/share/system/custom.sh (if exists) is ran at boot.



Want to support us ?

Join us on :

210
Online

29859
Users

14897
Topics

112173
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.