Added HDD sleep helper for reference
This commit is contained in:
parent
a7135c8423
commit
e4abda5134
|
@ -0,0 +1,7 @@
|
|||
# would recommend using hd-idle over hdparm
|
||||
|
||||
SLEEPHDD_MOUNTPOINT="/mnt/backup"
|
||||
SLEEPHDD_DEVICE="/dev/sdb"
|
||||
|
||||
! mountpoint -q "$SLEEPHDD_MOUNTPOINT" || sudo umount $SLEEPHDD_MOUNTPOINT
|
||||
sudo hdparm -y $SLEEPHDD_DEVICE
|
Loading…
Reference in New Issue