commit:     d1cb807dd5e22e12d3cc743093143bfaef6bd9f9
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed May 31 18:09:57 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed May 31 20:11:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1cb807d

sys-auth/elogind: Remove init script bashism

Gentoo-bug: 619992
Reported-by: eroen <gentoo <AT> eroen.eu>
Thanks-to: Sven Eden <yamakuzure <AT> gmx.net>

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sys-auth/elogind/{elogind-229.3.ebuild => elogind-229.3-r1.ebuild} | 0
 sys-auth/elogind/files/elogind.init                                | 6 ------
 2 files changed, 6 deletions(-)

diff --git a/sys-auth/elogind/elogind-229.3.ebuild 
b/sys-auth/elogind/elogind-229.3-r1.ebuild
similarity index 100%
rename from sys-auth/elogind/elogind-229.3.ebuild
rename to sys-auth/elogind/elogind-229.3-r1.ebuild

diff --git a/sys-auth/elogind/files/elogind.init 
b/sys-auth/elogind/files/elogind.init
index 923564f9a3e..fc5ac38184a 100644
--- a/sys-auth/elogind/files/elogind.init
+++ b/sys-auth/elogind/files/elogind.init
@@ -12,12 +12,6 @@ depend() {
 start() {
        ebegin "Starting elogind"
 
-       # elogind needs a /run/systemd directory
-       if [[ ! -e /run/systemd ]]; then
-               mkdir -p /run/systemd
-               chmod 755 /run/systemd
-       fi
-
        start-stop-daemon --start --quiet --background \
                --make-pidfile --pidfile "${ELOGIND_PIDFILE}" \
                --exec "${ELOGIND_EXEC}"

Reply via email to