RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Python Script

    Scheduled Pinned Locked Moved Help and Support
    power button
    1 Posts 1 Posters 775 Views
    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.
    • O
      o0Scope0o
      last edited by

      Hi all I have a Pi Model B+ and am successfully running RetroPi (4.1).

      I have installed a separate power script to shutdown the Pi using the GPIO pins. [http://tinyurl.com/off-button-py]

      However I can not get this script to work from RetroPi, only when I forcibly run it through terminal.

      I have edited /etc/rc.local and added a line "python /home/pi/.off_button.py" - No joy, what am I missing? - System still boots runs as expected.

      Many thanks in advance.

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

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.