Hi,
I am having a hard time solving this issue, mainly 'coz I'm noob. Ahem, here it is:
I have 2 python scripts on my Rpi3. One is for setting a GPIO pin to "high" (it is called A.py), and the other for dealing with the "pi-supply" switch thing (it is B.py).
The "Pi-Supply" code is basically a loop that waits for the user to press a button linked to the correct GPIO pin, and then halt the Raspberry.
I did add the two scripts in autostart.sh. Both scripts work fine when I call them from Putty remotely. But when listed in autostart.sh, one does not actually start (B.py). Mainly, I suppose, 'coz it is a loop.
I have tried different syntaxes, such as:
(
python A.py;
python B.py
)&
And various others. Without success.
So my questions are:
1) How would you key in the call to these 2 scripts inside autostart.sh ?
2) Is there a log of autostart.sh or how can I setup one?
Thanks a lot for your support, and thx to Libreelec team for the great evenings spent with my wife watching movies