summaryrefslogtreecommitdiffstats
path: root/main/alsa-utils/alsa.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2011-02-15 12:21:45 +0000
committerLeonardo Arena <rnalrd@gmail.com>2011-02-15 12:21:45 +0000
commit25148c14f568f0768d7803a5ad71354b81c1135a (patch)
treea806baf16f60be1b466f4133de6c6dca80280df9 /main/alsa-utils/alsa.initd
parent454357fd54e47f4ae48e9307bc060a68d185e130 (diff)
downloadaports-25148c14f568f0768d7803a5ad71354b81c1135a.tar.bz2
aports-25148c14f568f0768d7803a5ad71354b81c1135a.tar.xz
main/alsa-utils: remove bb modprobe unsupported option from initd
Diffstat (limited to 'main/alsa-utils/alsa.initd')
-rw-r--r--main/alsa-utils/alsa.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/alsa-utils/alsa.initd b/main/alsa-utils/alsa.initd
index c11861896..19d0e488e 100644
--- a/main/alsa-utils/alsa.initd
+++ b/main/alsa-utils/alsa.initd
@@ -15,13 +15,13 @@ depend() {
load_modules() {
# List of drivers for each card.
- local DRIVERS="$(modprobe -c | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')"
+ local DRIVERS="$(modprobe | sed -n -e 's/^alias \(snd-card-[[:digit:]]\+\) .*/\1/p')"
# Fall back on the automated aliases if we don't have ALSA configured properly...
if [ -z "${DRIVERS}" ] && \
( [ ! -r /proc/asound/cards ] || grep -q ' no soundcards ' /proc/asound/cards 2>/dev/null ) ; then
ewarn "Could not detect custom ALSA settings. Loading all detected alsa drivers."
- DRIVERS="$(modprobe -c | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)"
+ DRIVERS="$(modprobe | sed -n -e '/^alias pci:.* snd.*/ s/^alias pci:[^ ]* \(.*\)/\1/p' | sort | uniq)"
if [ -z "${DRIVERS}" ] ; then
eerror "Unable to find any ALSA drivers. Have you compiled alsa-drivers correctly?"
fi