summarylogtreecommitdiffstats
path: root/asusctl.install
diff options
context:
space:
mode:
Diffstat (limited to 'asusctl.install')
-rw-r--r--[-rwxr-xr-x]asusctl.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/asusctl.install b/asusctl.install
index 4f125106d340..27bd15b8bf8f 100755..100644
--- a/asusctl.install
+++ b/asusctl.install
@@ -4,5 +4,10 @@ post_upgrade() {
printf ":: asusd is running, and requires a restart of the serviceā€¦\n"
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 restart asusd-nohwdep.service
+ fi
}