summaryrefslogtreecommitdiffstats
path: root/abs/core
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
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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD4
-rwxr-xr-xabs/core/runit-scripts/runitscripts/services/pwrstatd/run8
2 files changed, 10 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index fd78f72..097c704 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
-pkgver=8.2
-pkgrel=3
+pkgver=8.3
+pkgrel=1
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
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