2020-10-20 15:59:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
kconf="/etc/modprobe.d/thinkpad_acpi.conf"
|
|
|
|
kopts="options thinkpad_acpi fan_control=1"
|
2020-10-20 16:04:06 +00:00
|
|
|
[ ! -f $kconf ] && echo "$kopts" | sudo tee $kconf
|
2020-10-20 15:59:48 +00:00
|
|
|
|
2020-06-22 03:23:29 +00:00
|
|
|
sudo install -m755 tpfan /usr/local/bin/tpfan
|
|
|
|
sudo install -m644 tpfan.conf /etc/tpfan.conf
|