Add script line in shutdown ControlBlock command
-
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 !
-
Hi :)
Nobody to help me please ? :p
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.