sys-auth/elogind: Remove init script bashism
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 31 May 2017 18:09:57 +0000 (20:09 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 31 May 2017 20:11:06 +0000 (22:11 +0200)
Gentoo-bug: 619992
Reported-by: eroen <gentoo@eroen.eu>
Thanks-to: Sven Eden <yamakuzure@gmx.net>

Package-Manager: Portage-2.3.5, Repoman-2.3.1

sys-auth/elogind/elogind-229.3-r1.ebuild [moved from sys-auth/elogind/elogind-229.3.ebuild with 100% similarity]
sys-auth/elogind/files/elogind.init

index 923564f9a3e296c4aaa22f09b3a45933dcafea79..fc5ac38184a05e41ccf538365c6964cd3bb0aeb2 100644 (file)
@@ -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}"