sys-apps/sparc-utils: remove unused file
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Tue, 17 Apr 2018 07:54:26 +0000 (09:54 +0200)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 17 Apr 2018 21:57:21 +0000 (22:57 +0100)
Closes: https://github.com/gentoo/gentoo/pull/8039

sys-apps/sparc-utils/files/audioctl.init [deleted file]

diff --git a/sys-apps/sparc-utils/files/audioctl.init b/sys-apps/sparc-utils/files/audioctl.init
deleted file mode 100644 (file)
index 10383d5..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-checkconfig() {
-       if [ -z "${PARAMS}" ]
-       then
-               eerror "Please make sure that /etc/conf.d/audioctl has \$PARAMS set"
-               return 1
-       fi
-}
-start() {
-       checkconfig || return 1
-
-       ebegin "Starting audioctl"
-       if [ -n "${DEVICE}" ]; then
-               /usr/bin/audioctl -f ${DEVICE} -nw ${PARAMS}
-       else
-               /usr/bin/audioctl -nw ${PARAMS}
-       fi
-       eend $?
-}