summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-12-31 08:21:27 +0100
committerConrad Kostecki <conikost@gentoo.org>2019-12-31 17:43:09 +0100
commitd629805c7a48330a59c7f0672720c469ca8580db (patch)
treedbd77875a00957482971d0e32f5cbbcc7f1ea775 /app-misc/lcd4linux
parentsys-fs/squashfs-tools-ng: Version bump to 0.8 (diff)
downloadgentoo-d629805c7a48330a59c7f0672720c469ca8580db.tar.gz
gentoo-d629805c7a48330a59c7f0672720c469ca8580db.tar.bz2
gentoo-d629805c7a48330a59c7f0672720c469ca8580db.zip
app-misc/lcd4linux: remove unused file
Closes: https://github.com/gentoo/gentoo/pull/14195 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/lcd4linux')
-rw-r--r--app-misc/lcd4linux/files/lcd4linux-r1.initd29
1 files changed, 0 insertions, 29 deletions
diff --git a/app-misc/lcd4linux/files/lcd4linux-r1.initd b/app-misc/lcd4linux/files/lcd4linux-r1.initd
deleted file mode 100644
index 44ca73e9aabe..000000000000
--- a/app-misc/lcd4linux/files/lcd4linux-r1.initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-if [ "${SVCNAME}" = "lcd4linux" ]; then
- config="/etc/lcd4linux/lcd4linux.conf"
- name="LCD4Linux"
- pidfile="/run/lcd4linux.pid"
-else
- config="/etc/lcd4linux/lcd4linux.${SVCNAME#lcd4linux.}.conf"
- name="LCD4Linux (${SVCNAME#lcd4linux.})"
- pidfile="/run/lcd4linux.${SVCNAME#lcd4linux.}.pid"
-fi
-
-command="/usr/bin/lcd4linux"
-command_args="-f ${config} -p ${pidfile}"
-command_background="true"
-command_group="root"
-command_user="root"
-
-start_pre() {
- if [ ! -f "${config}" ]; then
- eerror "Please create ${config} before starting LCD4Linux!"
- return 1
- else
- checkpath -f -m 600 -o "${command_user}:${command_group}" -q "${config}"
- return 0
- fi
-}