v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
(2016-08-22, 21:07)Sholander Wrote:
(2016-08-22, 13:05)bmonster Wrote: 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.

sleep 10 ;

IIRC "sleep" command without suffix "m" for minutes, "h" for hours, or "d" for days defaults to "s" seconds,
so your "sleep 10" will wait for 10 seconds, before execution.
My external USB drives need 60 sec delay before autostart.sh executes hdparm command to spin them down.
The sleep just means it waits 10 seconds before seeing hdparm.
The hdparm -s 120 is what specifies the 10 minutes.
-s is time in seconds x5 so the value of 120 is actually 600 seconds.

Sent from my ONEPLUS A3003


Messages In This Thread
RPi2: no DV-codec? - by bubi - 2016-07-10, 10:30
DV-video not working - by bubi - 2016-07-15, 19:48
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - by bagofcrap24 - 2016-08-22, 23:59
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)19