summarylogtreecommitdiffstats
path: root/asusctl.install
blob: 2f5a1c3697f5481a7a79883e246629ae3f358756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
  printf ":: asusd provides a service that is activated by an udev rule on\n"
  printf ":: startup. Please reboot the system or run\n"
  printf ":: # systemctl start asusd.service\n"
  printf ":: to make it work.\n"
  printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
  printf ":: for latest required kernel patches/versions\n"
}

post_upgrade() {
  if systemctl is-active asusd.service --quiet
    then
      printf ":: asusd service will be restarted…\n"
      systemctl daemon-reload
      systemctl restart asusd.service
  fi
  printf ":: See https://gitlab.com/asus-linux/asusctl#kernel-support.\n"
  printf ":: for latest required kernel patches/versions\n"
}