summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/aumix')
-rw-r--r--media-sound/aumix/files/aumix.rc65
1 files changed, 2 insertions, 3 deletions
diff --git a/media-sound/aumix/files/aumix.rc6 b/media-sound/aumix/files/aumix.rc6
index 21430103ec8a..11562dc47eb7 100644
--- a/media-sound/aumix/files/aumix.rc6
+++ b/media-sound/aumix/files/aumix.rc6
@@ -1,15 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/files/aumix.rc6,v 1.10 2005/07/07 19:36:39 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/aumix/files/aumix.rc6,v 1.11 2005/11/08 18:22:45 eradicator Exp $
depend() {
use modules hotplug coldplug alsasound
}
checkconfig() {
- if ! grep -q 'sound|OSS|sparcaudio' /proc/devices && [[ ! -d /proc/asound ]]
- then
+ if ! grep -q -E 'sound|OSS|sparcaudio' /proc/devices && [[ ! -d /proc/asound ]] ; then
eerror "Sound support has not been compiled into the kernel,"
eerror "or is disabled. Please check that the correct modules"
eerror "is loaded."