1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-10-09 21:03:30 +02:00

nixos: leave unsupported SATA host policy unchanged

This commit is contained in:
TheGeneralist 2026-10-09 14:54:08 +02:00
parent de97ce6eeb
commit 33f6a352af
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4

View file

@ -41,12 +41,6 @@
fi fi
done done
for host in /sys/class/scsi_host/host*; do
if [ -w "$host/link_power_management_policy" ]; then
echo med_power_with_dipm > "$host/link_power_management_policy"
fi
done
# This unmounted archival HDD wakes transparently when accessed. # This unmounted archival HDD wakes transparently when accessed.
disk=/dev/disk/by-id/ata-ST1000DM010-2EP102_ZN1043CH disk=/dev/disk/by-id/ata-ST1000DM010-2EP102_ZN1043CH
if [ -b "$disk" ]; then if [ -b "$disk" ]; then