How to spindown disk when not in use?

Hi all,

I have hdparm installed and issuing this command works perfect.

hdparm -S 5 /dev/sdX

Puts my hdd in idle mode after 1 minute. Is there a place where i can put this command so everytime im done accessing files in my hdd, it will spindown automatically?

At the moment i'm issuing the command everytime just to make it stop spinning.

I also tried putting it in scheduled task in luci and in start up but still not working.

opkg install luci-app-hd-idle

please make use of the forum/wiki search functions...
wiki search