summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/pwrstatd
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-01 14:22:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-01 14:22:37 (GMT)
commit08bf7a612ffb56ed242d114cdc0cceda2801cc23 (patch)
tree94162c085c343a78a77ecb4ca384525496f91ded /abs/core/runit-scripts/runitscripts/services/pwrstatd
parent7a82541aeee6cee621c495bffbe4341bb2fe4cf6 (diff)
downloadlinhes_pkgbuild-08bf7a612ffb56ed242d114cdc0cceda2801cc23.zip
linhes_pkgbuild-08bf7a612ffb56ed242d114cdc0cceda2801cc23.tar.gz
linhes_pkgbuild-08bf7a612ffb56ed242d114cdc0cceda2801cc23.tar.bz2
runit-scripts: add pwrstatd
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/pwrstatd')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/pwrstatd/run8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/pwrstatd/run b/abs/core/runit-scripts/runitscripts/services/pwrstatd/run
new file mode 100755
index 0000000..3b9c029
--- /dev/null
+++ b/abs/core/runit-scripts/runitscripts/services/pwrstatd/run
@@ -0,0 +1,8 @@
+#!/bin/sh
+exec 2>&1
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+stat_runit "Starting CyberPower PowerPanel Daemon"
+exec /usr/bin/pwrstatd