• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • B
    Bulok
    last edited by 23 Nov 2016, 12:52

    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
    • B
      Bulok
      last edited by 26 Nov 2016, 20:06

      Hi :)

      Nobody to help me please ? :p

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        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.

        This community forum collects and processes your personal information.
        consent.not_received