diff options
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.initd | 27 |
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} -} |