diff options
-rw-r--r-- | sys-apps/sparc-utils/files/audioctl.init | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys-apps/sparc-utils/files/audioctl.init b/sys-apps/sparc-utils/files/audioctl.init deleted file mode 100644 index 10383d56ae8a..000000000000 --- 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 $? -} |