summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-31 20:09:57 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-31 22:11:06 +0200
commitd1cb807dd5e22e12d3cc743093143bfaef6bd9f9 (patch)
tree756a1305d670e5ba8cfe0f8bdbaf0c81b7f25e18 /sys-auth/elogind/files/elogind.init
parentsci-libs/Fiona: added missed patch file (diff)
downloadgentoo-d1cb807dd5e22e12d3cc743093143bfaef6bd9f9.tar.gz
gentoo-d1cb807dd5e22e12d3cc743093143bfaef6bd9f9.tar.bz2
gentoo-d1cb807dd5e22e12d3cc743093143bfaef6bd9f9.zip
sys-auth/elogind: Remove init script bashism
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
Diffstat (limited to 'sys-auth/elogind/files/elogind.init')
-rw-r--r--sys-auth/elogind/files/elogind.init6
1 files changed, 0 insertions, 6 deletions
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}"