summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/alsa-utils/files/alsa.rc6')
-rw-r--r--media-sound/alsa-utils/files/alsa.rc626
1 files changed, 0 insertions, 26 deletions
diff --git a/media-sound/alsa-utils/files/alsa.rc6 b/media-sound/alsa-utils/files/alsa.rc6
deleted file mode 100644
index b6cfe04b00a2..000000000000
--- a/media-sound/alsa-utils/files/alsa.rc6
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa.rc6,v 1.4 2003/02/14 22:55:59 vapier Exp $
-
-depend() {
- need alsa-modules
-}
-
-start() {
- if [ -e /etc/asound.conf ]
- then
- ebegin "Restoring ALSA volume settings"
- /usr/sbin/alsactl restore
- else
- ebegin "/etc/asound.conf not found, ALSA muted"
- fi
- eend $?
-}
-
-stop() {
- ebegin "Saving ALSA volume settings"
- /usr/sbin/alsactl store
- eend
- #will fail if no modules were loaded, so we don't process the return val
-}