RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Add script line in shutdown ControlBlock command

    Scheduled Pinned Locked Moved ControlBlock, PowerBlock & Co.
    controlblockbartopraspberry pi 3shutdown
    2 Posts 1 Posters 966 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.
    • BulokB
      Bulok
      last edited by

      Hi !

      I have make my bartop with Pi 3, ControlBlock and relay for powering leds/screen/sound amplifier ...
      I have put my relay command line in rc.local (gpio mode 21 out, gpio write 21 1)...

      It's work very fine

      But when switch to turn off retropie and raspberry, all relay shut down directly after PI off ..

      I would like to insert just this line "gpio write 21 0" in the shutting down command.

      I have try to found something but i'm not really good in script :p

      I hope my english is not too bad for you understand my question ^^

      Thank you in advance !

      1 Reply Last reply Reply Quote 0
      • BulokB
        Bulok
        last edited by

        Hi :)

        Nobody to help me please ? :p

        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.