aboutsummaryrefslogtreecommitdiffstats
path: root/main/alsa-utils
diff options
context:
space:
mode:
Diffstat (limited to 'main/alsa-utils')
-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 7ea0b86dd3..d7263e6aec 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 c11861896f..19d0e488e3 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