blob: d6e751c8c49cbf30f5c251add0f02f99290be3b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
post_install() {
cat << EOF
Edit '/etc/udev/rules.d/10-hddapm.rules' to configure the devices to change and
the APM level to set for each one.
Use 'udevadm info -a /dev/sdx' to obtain information about the attributes of the
drives you wish to control.
You have to manually enable the unit to have the APM level restored after
suspend/hibernate/hybrid-sleep. You can do it with: 'systemctl enable hddapm'.
If you wish to set the APM level early during boot, add hddapm to your HOOKS
line in '/etc/mkinitcpio.conf' and regenerate your initramfs.
EOF
}
post_upgrade() {
post_install
}
|