09-29-2021, 06:20 PM
(This post was last modified: 10-04-2021, 11:47 AM by officialsm.)
Hi,
i'm using a power management board with a button to power on/off (from Audiophonics: https://www.audiophonics.fr/en/raspberry...10912.html).
It works until 7.3 version, with 7.4 work to power-on but not to power-off.
To work i use a custom script (as described here: https://github.com/audiophonics/Raspberr...management).
The poweroff script is called from /var/local/www/commandw/restart.sh and from /etc/rc.local
With 7.4 versione seems restart.sh or rc.local are not in use. If if try from command sheel the shutdown script it works fine.
Could you help me to understandt if something changed form 7.3 about shutdown and where i can put custom script?
At the moment if i press the button it not works,no shutdown.
Thank you
i'm using a power management board with a button to power on/off (from Audiophonics: https://www.audiophonics.fr/en/raspberry...10912.html).
It works until 7.3 version, with 7.4 work to power-on but not to power-off.
To work i use a custom script (as described here: https://github.com/audiophonics/Raspberr...management).
The poweroff script is called from /var/local/www/commandw/restart.sh and from /etc/rc.local
With 7.4 versione seems restart.sh or rc.local are not in use. If if try from command sheel the shutdown script it works fine.
Could you help me to understandt if something changed form 7.3 about shutdown and where i can put custom script?
At the moment if i press the button it not works,no shutdown.
Thank you