1 |
commit: d1cb807dd5e22e12d3cc743093143bfaef6bd9f9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 31 18:09:57 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 31 20:11:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1cb807d |
7 |
|
8 |
sys-auth/elogind: Remove init script bashism |
9 |
|
10 |
Gentoo-bug: 619992 |
11 |
Reported-by: eroen <gentoo <AT> eroen.eu> |
12 |
Thanks-to: Sven Eden <yamakuzure <AT> gmx.net> |
13 |
|
14 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
15 |
|
16 |
sys-auth/elogind/{elogind-229.3.ebuild => elogind-229.3-r1.ebuild} | 0 |
17 |
sys-auth/elogind/files/elogind.init | 6 ------ |
18 |
2 files changed, 6 deletions(-) |
19 |
|
20 |
diff --git a/sys-auth/elogind/elogind-229.3.ebuild b/sys-auth/elogind/elogind-229.3-r1.ebuild |
21 |
similarity index 100% |
22 |
rename from sys-auth/elogind/elogind-229.3.ebuild |
23 |
rename to sys-auth/elogind/elogind-229.3-r1.ebuild |
24 |
|
25 |
diff --git a/sys-auth/elogind/files/elogind.init b/sys-auth/elogind/files/elogind.init |
26 |
index 923564f9a3e..fc5ac38184a 100644 |
27 |
--- a/sys-auth/elogind/files/elogind.init |
28 |
+++ b/sys-auth/elogind/files/elogind.init |
29 |
@@ -12,12 +12,6 @@ depend() { |
30 |
start() { |
31 |
ebegin "Starting elogind" |
32 |
|
33 |
- # elogind needs a /run/systemd directory |
34 |
- if [[ ! -e /run/systemd ]]; then |
35 |
- mkdir -p /run/systemd |
36 |
- chmod 755 /run/systemd |
37 |
- fi |
38 |
- |
39 |
start-stop-daemon --start --quiet --background \ |
40 |
--make-pidfile --pidfile "${ELOGIND_PIDFILE}" \ |
41 |
--exec "${ELOGIND_EXEC}" |