From d1cb807dd5e22e12d3cc743093143bfaef6bd9f9 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 31 May 2017 20:09:57 +0200 Subject: [PATCH] sys-auth/elogind: Remove init script bashism Gentoo-bug: 619992 Reported-by: eroen Thanks-to: Sven Eden Package-Manager: Portage-2.3.5, Repoman-2.3.1 --- .../{elogind-229.3.ebuild => elogind-229.3-r1.ebuild} | 0 sys-auth/elogind/files/elogind.init | 6 ------ 2 files changed, 6 deletions(-) rename sys-auth/elogind/{elogind-229.3.ebuild => elogind-229.3-r1.ebuild} (100%) 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 923564f9a3e2..fc5ac38184a0 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}" -- 2.26.2