summaryrefslogtreecommitdiff
path: root/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
commitbd4aeefe33e63f613512604e47bfca7b2187697d (patch)
treeadb35b5a9a00ee7ea591ab0c987f70167c23b597 /x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
parent48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff)
gentoo resync : 03.11.2019
Diffstat (limited to 'x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd')
-rw-r--r--x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd27
1 files changed, 0 insertions, 27 deletions
diff --git a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd b/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
deleted file mode 100644
index adbc0195e4b0..000000000000
--- a/x11-apps/radeon-profile-daemon/files/radeon-profile-daemon.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Daemon for radeon-profile GUI"
-
-command="/usr/sbin/radeon-profile-daemon"
-command_background="true"
-pidfile="/run/${SVCNAME}.pid"
-
-radeon_socket="/tmp/radeon-profile-daemon-server"
-
-wait_for_socket() {
- local i=0
- while [ ${i} -lt 10 ]; do
- [ -S "${radeon_socket}" ] && return 0
- i=$((${i}+1))
- sleep 1
- done
-
- return 1
-}
-
-start_post() {
- wait_for_socket || return 1
- chgrp video ${radeon_socket}
-}