summaryrefslogtreecommitdiffstats
path: root/main
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
parent454357fd54e47f4ae48e9307bc060a68d185e130 (diff)
downloadaports-25148c14f568f0768d7803a5ad71354b81c1135a.tar.bz2
aports-25148c14f568f0768d7803a5ad71354b81c1135a.tar.xz
main/alsa-utils: remove bb modprobe unsupported option from initd
Diffstat (limited to 'main')
-rw-r--r--main/alsa-utils/APKBUILD4
-rw-r--r--main/alsa-utils/alsa.initd4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/alsa-utils/APKBUILD b/main/alsa-utils/APKBUILD
index 7ea0b86dd..d7263e6ae 100644
--- a/main/alsa-utils/APKBUILD
+++ b/main/alsa-utils/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alsa-utils
pkgver=1.0.23
-pkgrel=2
+pkgrel=3
pkgdesc="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)"
url="http://www.alsa-project.org"
arch="all"
@@ -49,5 +49,5 @@ alsaconf() {
md5sums="cb0cf46029ac9549cf3a31bff6a4f4e1 alsa-utils-1.0.23.tar.bz2
5e65f278b5a77e3ee2821ad955c4cd91 alsaconf.patch
-4a66dad46d5366e05098cde97f3d37b5 alsa.initd
+219cd8b7b3e250895550b1d60cfc219f alsa.initd
85b1f1e759fe5953eca329237f4ac256 alsa.confd"
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