1
0
Fork 0

flameboi: on_resume.sh: put drives to standby after resuming from sleep

This commit is contained in:
Pratham Patel 2023-01-16 20:44:30 +05:30
parent 7f0342783b
commit 52d60b34b3
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/usr/bin/env bash
/usr/sbin/hdparm -S 60 /dev/sda
/usr/sbin/hdparm -S 60 /dev/sdb
/usr/sbin/hdparm -S 60 /dev/sdc
/usr/sbin/hdparm -S 60 /dev/sdd
/usr/bin/updatedb &
sleep 600s