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:
parent
de97ce6eeb
commit
33f6a352af
1 changed files with 0 additions and 6 deletions
|
|
@ -41,12 +41,6 @@
|
|||
fi
|
||||
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.
|
||||
disk=/dev/disk/by-id/ata-ST1000DM010-2EP102_ZN1043CH
|
||||
if [ -b "$disk" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue