summarylogtreecommitdiffstats
path: root/ryzen-ppd.install
blob: 7efe30c24c3e543c5be93e29651fe81b20ac7b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
  cat << EOM

:: Setup instructions
- configure settings in '/etc/ryzen-ppd.ini'
- optionally install the 'acpi_call' package for setting ACPI platform profiles
- verify that the profiles work as expected by running 'ryzen-ppd -v' and checking limits with 'ryzenadj -i'
- enable the systemd service 'ryzen-ppd.service'

EOM
}

post_upgrade() {
  [ $(vercmp $2 0.2) != 1 ] && [ $(vercmp $1 0.3) != -1 ] || exit 0
  cat << EOM

:: Upgrade instructions
Version 0.3 was rewritten in Python and the configuration file syntax changed.
Please update your settings at '/etc/ryzen-ppd.ini'.

EOM
}