summarylogtreecommitdiffstats
path: root/asus-nb-wmi-reload.install
diff options
context:
space:
mode:
authorFadeMind2016-05-28 09:05:12 +0200
committerFadeMind2016-05-28 09:05:12 +0200
commit49839cfac40f8771f867b53a2ec65c1d7d145558 (patch)
tree053d913e01ed822da0aeec5cdebe8b5ebbf631ed /asus-nb-wmi-reload.install
parentc1868f321115258f45110a8588fd7068264ebb38 (diff)
downloadaur-49839cfac40f8771f867b53a2ec65c1d7d145558.tar.gz
update
Diffstat (limited to 'asus-nb-wmi-reload.install')
-rw-r--r--asus-nb-wmi-reload.install27
1 files changed, 5 insertions, 22 deletions
diff --git a/asus-nb-wmi-reload.install b/asus-nb-wmi-reload.install
index c8d86b52a57d..bde445174271 100644
--- a/asus-nb-wmi-reload.install
+++ b/asus-nb-wmi-reload.install
@@ -1,27 +1,10 @@
-asus-nb-wmi-reload_enable() {
- systemctl is-enabled asus-nb-wmi-reload.service &> /dev/null
- if [ $? -eq 0 ]; then
- echo 'Service asus-nb-wmi-reload is enabled already.'
- else
- echo 'Enabling asus-nb-wmi-reload service...'
- systemctl enable asus-nb-wmi-reload.service &> /dev/null
- fi
-}
-
post_install() {
- asus-nb-wmi-reload_enable
+ printf "NOTE: You need manually enable the systemd service after install via command:\n"
+ printf "sudo systemctl enable asus-nb-wmi-reload\n"
}
-post_upgrade() {
- asus-nb-wmi-reload_enable
- echo 'Reloading systemd...'
- systemctl daemon-reload
-}
-pre_remove() {
- systemctl is-enabled asus-nb-wmi-reload.service &> /dev/null
- if [ $? -eq 0 ]; then
- systemctl disable asus-nb-wmi-reload.service &> /dev/null
- echo 'Disabling asus-nb-wmi-reload service...'
- fi
+post_remove() {
+ printf "NOTE: You need manually disable the systemd service after remove via command:\n"
+ printf "sudo systemctl disable asus-nb-wmi-reload\n"
}