Answer the question
In order to leave comments, you need to log in
Why doesn't udev rule work?
I need the udev rule to work when usb is inserted, which directs the script to be executed.
The contents of the file with the rule 20-usb.rules :
ACTION="add", KERNEL="sd**",RUN+="/home/pi/autorun.sh"
Tried to run the script separately, it works. Maybe someone knows what could be the problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question