summaryrefslogtreecommitdiffstats
path: root/abs/extra/powerpanel/pwrstatd.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/powerpanel/pwrstatd.install')
-rw-r--r--abs/extra/powerpanel/pwrstatd.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/powerpanel/pwrstatd.install b/abs/extra/powerpanel/pwrstatd.install
new file mode 100644
index 0000000..5fe72ff
--- /dev/null
+++ b/abs/extra/powerpanel/pwrstatd.install
@@ -0,0 +1,14 @@
+post_install() {
+ add_service.sh pwrstatd
+ sv start pwrstatd
+}
+
+post_upgrade() {
+ post_install
+ sv restart pwrstatd
+}
+
+post_remove() {
+ sv stop pwrstatd
+ remove_service.sh pwrstatd
+}