Created
August 27, 2013 21:39
-
-
Save ebroder/6359515 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
evan@caron:~$ cat /etc/modprobe.d/ibm.conf | |
options thinkpad_acpi fan_control=1 | |
evan@caron:~$ cat /etc/pm/power.d/ibm_fan | |
#!/bin/sh | |
fan="/proc/acpi/ibm/fan" | |
[ -w "$fan" ] || exit $NA | |
case "$1" in | |
true) echo level auto > "$fan" ;; | |
false) echo level disengaged > "$fan" ;; | |
*) exit 254 ;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment