scripts:ubuntu-thinkpad

#!/bin/sh
 
# Do a root check
if [ $(id -u) -ne 0 ]; then
  echo "This script must be run as root.";
  exit 99;
fi
 
# Install device-specific tools
apt install -y ethtool flashrom inxi lm-sensors thinkfan wavemon
 
# Set wlan led blink
echo 'options ath9k blink=1' > /etc/modprobe.d/ath9k.conf
 
# Enable kernel fan control
echo 'options thinkpad_acpi fan_control=1' > /etc/modprobe.d/thinkpad_acpi.conf
  • scripts/ubuntu-thinkpad.txt
  • Last modified: 2021/01/07 16:11
  • by Kevin Keijzer