2016-08-22, 13:05
(2016-08-21, 17:38)ezar Wrote: Thanks bmonster.
Can you post autostart.sh please!?
(2016-08-19, 20:40)bmonster Wrote:(2016-08-18, 22:23)ezar Wrote: If I want to spin down external USB...
I did mine with hdparm, and used the autostart.sh file to have it trigger every boot.
Got mine set for 10mins, and works fine.
This is what I have in the autostart.sh
Spindowns all 3 of my external drives after 10mins of inactivity.
Sleep command give the drives enough time to turn on, wouldn't work without this.
nano /storage/.config/autostart.sh
Copy and paste this and save, then reboot.
sleep 10 ;
hdparm -S 120 /dev/sda ;
hdparm -S 120 /dev/sdb ;
hdparm -S 120 /dev/sdc