custom cooling script

  • Hey,

    I have a dual boot system with LibreELEC and Recalbox. In Recalbox i'm calling in /etc/init.d/ a script with

    Python
    #!/usr/bin/python
    import subprocess
    try:
        subprocess.Popen(["/bin/sh","/recalbox/scripts/activecooling/acrecalbox.sh"])
    except KeyboardInterrupt:
        print "Quit"

    Now I want to know where I can call the script under LibreELEC.

    I used OSMC before and there I didn't get it running, so I hope under LibreELEC it's possible for me.


    Thanks in advance.

  • Code
    echo "(sleep 10 && /bin/bash /path/to/acrecalbox.sh)&" > /storage/.config/autostart.sh

    ^ something like that should work, depending on what acrecalbox.sh contains?

  • Code
    echo "(sleep 10 && /bin/bash /path/to/acrecalbox.sh)&" > /storage/.config/autostart.sh

    ^ something like that should work, depending on what acrecalbox.sh contains?

    This is acrecalbox.sh: