I'm a still a noob with this, so if you need more information please ask me what information you need.
I want to use a switch that allows me to run a script.
I know it's possible to use a script with an endless loop and start the script on boot. But it would be better to run it only when a specific GPIO pin registers activation.
So I thought it's better to do this with the /dev/rules.d
But how do I do this?
I can't find any information on this matter.
Thanks in advance...