aboutsummaryrefslogtreecommitdiff
path: root/utils/lcdproc/files
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2017-01-11 13:25:40 -0700
committerPhilip Prindeville <philipp@redfish-solutions.com>2017-04-13 20:04:53 -0600
commit86985f49bb756f305471410412448b1947a04c10 (patch)
treebc082f32e9e26f8d9fead4d6205d051cedde9233 /utils/lcdproc/files
parent41007068170de972062457d64304ee335a32f324 (diff)
lcdproc: alternative package to drive LCD displays
As lcd4linux is all kinds of BROKEN lately, and of unknown status. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Reviewed-by: Harald Geyer <harald@ccbib.org>
Diffstat (limited to 'utils/lcdproc/files')
-rwxr-xr-xutils/lcdproc/files/LCDd14
-rwxr-xr-xutils/lcdproc/files/lcdexec14
-rwxr-xr-xutils/lcdproc/files/lcdproc14
-rwxr-xr-xutils/lcdproc/files/lcdvc14
4 files changed, 56 insertions, 0 deletions
diff --git a/utils/lcdproc/files/LCDd b/utils/lcdproc/files/LCDd
new file mode 100755
index 000000000..595407f90
--- /dev/null
+++ b/utils/lcdproc/files/LCDd
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=22
+USE_PROCD=1
+PROG=/usr/sbin/LCDd
+
+config_file=/etc/LCDd.conf
+
+start_service() {
+ procd_open_instance
+ procd_set_param command $PROG -f -c $config_file
+ procd_close_instance
+}
+
diff --git a/utils/lcdproc/files/lcdexec b/utils/lcdproc/files/lcdexec
new file mode 100755
index 000000000..e6a76f608
--- /dev/null
+++ b/utils/lcdproc/files/lcdexec
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=50
+USE_PROCD=1
+PROG=/usr/bin/lcdexec
+
+config_file=/etc/lcdexec.conf
+
+start_service() {
+ procd_open_instance
+ procd_set_param command $PROG -f -c $config_file
+ procd_close_instance
+}
+
diff --git a/utils/lcdproc/files/lcdproc b/utils/lcdproc/files/lcdproc
new file mode 100755
index 000000000..15eb9974b
--- /dev/null
+++ b/utils/lcdproc/files/lcdproc
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=50
+USE_PROCD=1
+PROG=/usr/bin/lcdproc
+
+config_file=/etc/lcdproc.conf
+
+start_service() {
+ procd_open_instance
+ procd_set_param command $PROG -f -c $config_file
+ procd_close_instance
+}
+
diff --git a/utils/lcdproc/files/lcdvc b/utils/lcdproc/files/lcdvc
new file mode 100755
index 000000000..036281511
--- /dev/null
+++ b/utils/lcdproc/files/lcdvc
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=50
+USE_PROCD=1
+PROG=/usr/bin/lcdvc
+
+config_file=/etc/lcdvc.conf
+
+start_service() {
+ procd_open_instance
+ procd_set_param command $PROG -f -c $config_file
+ procd_close_instance
+}
+