amplatfus
Senior Member
Hi
I just got the idea to put the HDD in spin down only during nights.
I created below scripts and thinking to put them in cru list. I am in development phase.
If you have any ideas please share. I searched the forums but did not find something similar.
BR.
I just got the idea to put the HDD in spin down only during nights.
I created below scripts and thinking to put them in cru list. I am in development phase.
If you have any ideas please share. I searched the forums but did not find something similar.
Code:
#!/bin/sh
#spin down on during days
killall -q sd-idle-2.6
nvram set usb_idle_timeout=0
nvram commit
Code:
#!/bin/sh
#spin down during nights
nvram set usb_idle_timeout=7200
nvram commit
killall -q sd-idle-2.6
#process
sleep 10
sd-idle-2.6 -i 7200