Hi,
I am using dvsdk4.0 for DM365 processor. I am trying to set a rule within udev that will launch a shell script when a USB memory stick is connected.
With root privilege, I have placed in /etc/udev/rules.d/ folder the rule script with a name: 99-usbdetect.rules.
99-usbdetect.rules file is as follows;
ACTION=="add", KERNEL=="sda", RUN+="/usr/share/myscript.sh"
myscript.sh file is as follows:
#!/bin/sh
echo "hello"
the rule does not seem to be executed and the shell script.
Is there anyone who can tell what's wrong with what is being done.
Thank you
KB