[root@ ~]# cat /usr/lib/systemd/system-sleep/99fancontrol.sh #!/bin/bash echo $1 > /tmp/x case "$1" in hibernate|suspend|hybrid-sleep) # Stopping is not required. ;; post) # In background. ls /sys/devices/virtual/thermal/cooling_device*/cur_state | while read A; do echo 1 > $A; echo 0 > $A; done ;; *) exit $NA ;; esacsystemctl status systemd-suspend.service and man systemd-suspend.service
HP 6730B Fan Issue Resuming from suspend
https://www.michelebologna.net/2015/hp-6730b-and-fan-at-full-speed-after-suspend-fedora-ubuntu-opensuse/
Does not work for Centos 7, use the following instead
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment