#!/bin/bash set -e sudo aptitude install thinkfan echo "options thinkpad_acpi fan_control=1" | sudo tee /etc/modprobe.d/thinkfan.conf