summarylogtreecommitdiffstats
path: root/asusctl.install
blob: 5805afd01d24fb3e2823a656c8f98fb44a5f6c42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_upgrade() {
  if [ $(systemctl is-active asusd.service) == "active" ]
    then
      printf ":: asusd is running, and requires a restart of the serviceā€¦\n"
      systemctl daemon-reload
      systemctl restart asusd.service
  fi
    if [ $(systemctl is-active asusd-nohwdep.service) == "active" ]
    then
      printf ":: asusd is running, and requires a restart of the serviceā€¦\n"
      systemctl daemon-reload
      systemctl restart asusd-nohwdep.service
  fi
}