summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/lcdproc/run.lcdd
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-04-05 21:16:33 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-04-05 21:16:33 (GMT)
commitbe834a1587a6fb592cdd3d3205c1636547a7815d (patch)
treee116e56a5d99e5cb62fa560d2cd83ce5d73255b6 /abs/extra-testing/lcdproc/run.lcdd
parentafa63da99592c0050461d2118d8f34d875baf630 (diff)
downloadlinhes_pkgbuild-be834a1587a6fb592cdd3d3205c1636547a7815d.zip
linhes_pkgbuild-be834a1587a6fb592cdd3d3205c1636547a7815d.tar.gz
linhes_pkgbuild-be834a1587a6fb592cdd3d3205c1636547a7815d.tar.bz2
lcdproc: updated to 0.5.3 and added runit support. Needs testing.
ref #673
Diffstat (limited to 'abs/extra-testing/lcdproc/run.lcdd')
-rw-r--r--abs/extra-testing/lcdproc/run.lcdd8
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/extra-testing/lcdproc/run.lcdd b/abs/extra-testing/lcdproc/run.lcdd
new file mode 100644
index 0000000..5f4af8e
--- /dev/null
+++ b/abs/extra-testing/lcdproc/run.lcdd
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/sbin/LCDd`
+ stat_busy "Starting LCDd daemon"
+ [ -z "$PID" ] && exec /usr/sbin/LCDd -f -c /etc/LCDd.conf