Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: sys-auth/elogind/files/
Date: Wed, 31 May 2017 18:15:48
Message-Id: 1496254532.58b1f1a971578a3bbf4dbd2c5cecc1174ac5311e.asturm@gentoo
1 commit: 58b1f1a971578a3bbf4dbd2c5cecc1174ac5311e
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 18:15:32 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 18:15:32 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=58b1f1a9
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/files/elogind.init | 6 ------
17 1 file changed, 6 deletions(-)
18
19 diff --git a/sys-auth/elogind/files/elogind.init b/sys-auth/elogind/files/elogind.init
20 index 923564f9a3..fc5ac38184 100644
21 --- a/sys-auth/elogind/files/elogind.init
22 +++ b/sys-auth/elogind/files/elogind.init
23 @@ -12,12 +12,6 @@ depend() {
24 start() {
25 ebegin "Starting elogind"
26
27 - # elogind needs a /run/systemd directory
28 - if [[ ! -e /run/systemd ]]; then
29 - mkdir -p /run/systemd
30 - chmod 755 /run/systemd
31 - fi
32 -
33 start-stop-daemon --start --quiet --background \
34 --make-pidfile --pidfile "${ELOGIND_PIDFILE}" \
35 --exec "${ELOGIND_EXEC}"