From ef4247bcbf99da8e8aafef0657a251abc80722b4 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Tue, 17 Apr 2018 09:54:26 +0200 Subject: [PATCH] sys-apps/sparc-utils: remove unused file Closes: https://github.com/gentoo/gentoo/pull/8039 --- sys-apps/sparc-utils/files/audioctl.init | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 sys-apps/sparc-utils/files/audioctl.init diff --git a/sys-apps/sparc-utils/files/audioctl.init b/sys-apps/sparc-utils/files/audioctl.init deleted file mode 100644 index 10383d56ae8a3..0000000000000 --- a/sys-apps/sparc-utils/files/audioctl.init +++ /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 $? -}