Run program late in shutdown process - Raspberry Pi Forums


hi

need set gpio pin low late possible in shutdown process.

have tried solution listed below , works, runs in shutdown process , need run later. idea or can point resources?

use wiringpi , run these 2 commands:
gpio -g mode 4 out
gpio –g write 4 0
have created init script these 2 commands , use init.d run @ shutdown this:
sudo update-rc.d myscript stop 00 0

when want run in shutdown sequence ?
@ triggering from rc0.d , rc6.d


raspberrypi



Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62