What's new

spin down during nights off during days

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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.

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
BR.
 

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top