Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Unsolved Script to turn off cooler

    Recalbox General
    script turn cooler
    7
    24
    9319
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • azvarel
      azvarel @Pdagarcia last edited by

      @Pdagarcia where would you put this script?

      Zodian Theme | #SNESProject

      1 Reply Last reply Reply Quote 0
      • lackyluuk
        lackyluuk Translator last edited by lackyluuk

        @azvarel I would place the script into /recalbox/scripts and call the script as a background process from the startup directory /etc/init.d for example as S32StartFanControl
        This could look like this (just one proposal, you can do it however you like it):

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

        I have called my script that I start as fanControl.py

        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

        azvarel 1 Reply Last reply Reply Quote 0
        • azvarel
          azvarel @lackyluuk last edited by

          @lackyluuk thanks 😃

          Zodian Theme | #SNESProject

          1 Reply Last reply Reply Quote 0
          • marcelogarbin
            marcelogarbin last edited by

            @azvarel I'm with the same problem, did you work? which method did you use?

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Want to support us ?

            86
            Online

            99.6k
            Users

            28.1k
            Topics

            187.1k
            Posts

            Copyright © 2021 recalbox.com