blob: 5c4b1e00d9d50cd76840fe4783e366459fe4ecd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install(){
cat <<EOF
If your model is absent in /usr/share/asus-fan-control/models, you are advised to
use 'asus-fan-control set-temps' to adjust fan speeds prior to enabling a systemd service.
Run 'asus-fan-control get-temps' to get your current fan speed policy.
To start asus-fan-control on boot:
systemctl enable afc.service
EOF
}
pre_remove(){
systemctl disable afc.service
echo 'You might want to reboot your system to restore the default fan speed'
if [ -f /etc/asus-fan-control/temps ]; then
echo "You might also want to remove '/etc/asus-fan-control/temps'"
fi
}
|