SOURCES: alsasound.init - show and load alias name itself - don't ...
glen
glen at pld-linux.org
Fri Nov 9 12:14:35 CET 2007
Author: glen Date: Fri Nov 9 11:14:35 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- show and load alias name itself
- don't play with kernel loglevels
---- Files affected:
SOURCES:
alsasound.init (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SOURCES/alsasound.init
diff -u SOURCES/alsasound.init:1.18 SOURCES/alsasound.init:1.19
--- SOURCES/alsasound.init:1.18 Mon Oct 1 18:42:16 2007
+++ SOURCES/alsasound.init Fri Nov 9 12:14:30 2007
@@ -35,27 +35,21 @@
#
# insert all sound modules
#
- if OLDLOGLEV=$(awk '{print $1}' < /proc/sys/kernel/printk 2> /dev/null); then
- /sbin/loglevel 1
- fi
- modprobe -c | awk '$1 == "alias" && $3 != "off" && ($2 ~ /^snd-card-[0-9]$/) {print $2}' | \
+ modprobe -c | awk '$1 == "alias" && $3 != "off" && ($2 ~ /^snd-card-[0-9]$/) {print $3}' | \
while read line; do \
msg_starting "sound driver: $line"
busy
/sbin/modprobe $line
ok
done
- modprobe -c | awk '$1 == "alias" && $3 != "off" && ($2 ~ /^sound-service-[0-9]-[0-9]+$/) {print $2}' | \
+ modprobe -c | awk '$1 == "alias" && $3 != "off" && ($2 ~ /^sound-service-[0-9]-[0-9]+$/) {print $3}' | \
while read line; do \
msg_starting "sound driver: $line"
busy
/sbin/modprobe $line
ok
done
- if [ -n "$OLDLOGLEV" ]; then
- /sbin/loglevel "$OLDLOGLEV"
- fi
- #
+
# restore driver settings
#
if [ -x /usr/sbin/alsactl ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/alsasound.init?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list