1 |
commit: d629805c7a48330a59c7f0672720c469ca8580db |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Dec 31 07:21:27 2019 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 31 16:43:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d629805c |
7 |
|
8 |
app-misc/lcd4linux: remove unused file |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/14195 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
app-misc/lcd4linux/files/lcd4linux-r1.initd | 29 ----------------------------- |
15 |
1 file changed, 29 deletions(-) |
16 |
|
17 |
diff --git a/app-misc/lcd4linux/files/lcd4linux-r1.initd b/app-misc/lcd4linux/files/lcd4linux-r1.initd |
18 |
deleted file mode 100644 |
19 |
index 44ca73e9aab..00000000000 |
20 |
--- a/app-misc/lcd4linux/files/lcd4linux-r1.initd |
21 |
+++ /dev/null |
22 |
@@ -1,29 +0,0 @@ |
23 |
-#!/sbin/openrc-run |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-if [ "${SVCNAME}" = "lcd4linux" ]; then |
28 |
- config="/etc/lcd4linux/lcd4linux.conf" |
29 |
- name="LCD4Linux" |
30 |
- pidfile="/run/lcd4linux.pid" |
31 |
-else |
32 |
- config="/etc/lcd4linux/lcd4linux.${SVCNAME#lcd4linux.}.conf" |
33 |
- name="LCD4Linux (${SVCNAME#lcd4linux.})" |
34 |
- pidfile="/run/lcd4linux.${SVCNAME#lcd4linux.}.pid" |
35 |
-fi |
36 |
- |
37 |
-command="/usr/bin/lcd4linux" |
38 |
-command_args="-f ${config} -p ${pidfile}" |
39 |
-command_background="true" |
40 |
-command_group="root" |
41 |
-command_user="root" |
42 |
- |
43 |
-start_pre() { |
44 |
- if [ ! -f "${config}" ]; then |
45 |
- eerror "Please create ${config} before starting LCD4Linux!" |
46 |
- return 1 |
47 |
- else |
48 |
- checkpath -f -m 600 -o "${command_user}:${command_group}" -q "${config}" |
49 |
- return 0 |
50 |
- fi |
51 |
-} |