Kernel module configuration requires root

dev
Michael De Roover 2020-10-20 18:04:06 +02:00
parent 4c9b7c8d4f
commit c76fdaf788
Signed by: vim
GPG Key ID: 075496E232CE04CB
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
kconf="/etc/modprobe.d/thinkpad_acpi.conf"
kopts="options thinkpad_acpi fan_control=1"
[ ! -f $kconf ] && echo "$kopts" > $kconf
[ ! -f $kconf ] && echo "$kopts" | sudo tee $kconf
sudo install -m755 tpfan /usr/local/bin/tpfan
sudo install -m644 tpfan.conf /etc/tpfan.conf