I have a script which is controlled by a switch via gpio. The problem is that script randomly stops working. Generally i don't even notice when it is stopped. Here is the script: #stt.sh gpio -g ...
I'm a beginner at programming so bare with me. I'm having some problems with implementing a way to stop my script manually. CTRL+C works perfectly fine in the terminal, but it seems it doesn't always ...