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
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
@ triggering from rc0.d , rc6.d
raspberrypi
Comments
Post a Comment