summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wever <weeve@gentoo.org>2003-11-01 13:06:46 +0000
committerJason Wever <weeve@gentoo.org>2003-11-01 13:06:46 +0000
commita582a6afef5e99e25ded66c6b1a0842a86816c11 (patch)
treef093a4b70d0076b4ff60793527d5e5c71b07711a
parentNew beta version (diff)
downloadgentoo-2-a582a6afef5e99e25ded66c6b1a0842a86816c11.tar.gz
gentoo-2-a582a6afef5e99e25ded66c6b1a0842a86816c11.tar.bz2
gentoo-2-a582a6afef5e99e25ded66c6b1a0842a86816c11.zip
Forgot to add the audioctl init script for the 1.9-r2 bump.
-rw-r--r--sys-apps/sparc-utils/ChangeLog5
-rw-r--r--sys-apps/sparc-utils/Manifest3
-rw-r--r--sys-apps/sparc-utils/files/audioctl.init23
3 files changed, 29 insertions, 2 deletions
diff --git a/sys-apps/sparc-utils/ChangeLog b/sys-apps/sparc-utils/ChangeLog
index 9762831c41f7..8b1c6355e289 100644
--- a/sys-apps/sparc-utils/ChangeLog
+++ b/sys-apps/sparc-utils/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/sparc-utils
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/ChangeLog,v 1.12 2003/11/01 12:01:36 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/ChangeLog,v 1.13 2003/11/01 13:06:43 weeve Exp $
+
+ 01 Nov 2003; Jason Wever <weeve@gentoo.org> files/audioctl.init:
+ Forgot to add the audioctl init script for the 1.9-r2 bump.
*sparc-utils-1.9-r2 (01 Nov 2003)
diff --git a/sys-apps/sparc-utils/Manifest b/sys-apps/sparc-utils/Manifest
index 98e8d38fd4d7..0760b85e9583 100644
--- a/sys-apps/sparc-utils/Manifest
+++ b/sys-apps/sparc-utils/Manifest
@@ -1,8 +1,9 @@
-MD5 43e8d66e7b5fd6904ba573eac324f487 ChangeLog 1625
+MD5 53aad30527d4ee505de359cf392748ac ChangeLog 1755
MD5 1281e21ae801232cac21628092fbc7f9 metadata.xml 420
MD5 119e207915e666370bbf35f87651c275 sparc-utils-1.9-r1.ebuild 2002
MD5 0fcc99d8b625909da0d2e958b6a983d3 sparc-utils-1.9.ebuild 1825
MD5 fc839660c231876a83ab1cba567d1783 sparc-utils-1.9-r2.ebuild 2090
+MD5 3b6e82efd6d363938633460aec86eacf files/audioctl.init 577
MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9 141
MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9-r1 141
MD5 783037e3661cca44a73e38b5fd112166 files/digest-sparc-utils-1.9-r2 141
diff --git a/sys-apps/sparc-utils/files/audioctl.init b/sys-apps/sparc-utils/files/audioctl.init
new file mode 100644
index 000000000000..37c9a4c5a8cc
--- /dev/null
+++ b/sys-apps/sparc-utils/files/audioctl.init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sparc-utils/files/audioctl.init,v 1.1 2003/11/01 13:06:43 weeve Exp $
+
+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 $?
+}