Execute action on mouting device

Hi,

i want to know how i can do some action if a USB device was mounted.

I want to execute the followinng command:

hdparm -S 60 /dev/sda

I added this line in the "/etc/hotplug.d/block/10-mount" script but it did not work.

Any idea?

This: https://forum.openwrt.org/viewtopic.php?pid=220959#p220959 might be helpful in your quest.