I have created a rule named "99-usb-mount.rules" in the rules.d directory, but it doesn't trigger the script. How can I resolve this issue?
This is the rules:
ACTION=="add", SUBSYSTEM=="block", KERNEL=="sda1", RUN+="/bin/bash /etc/udev/scripts/mount.sh start"
This is the script:
#!/bin/sh
udisksctl mount -b /dev/sda1
echo "111111111111111111111111111"
Which product and which version BSP are you using?