Ansible/templates/disk-power.rules

2 lines
117 B
Plaintext
Raw Permalink Normal View History

2024-02-12 18:48:45 +00:00
ACTION=="add|change", KERNEL=="sd[a-z]", ATTR{queue/rotational}=="1", RUN+="/sbin/hdparm -B 127 -S 60 $env{DEVNAME}"