slitaz-boot-scripts rev 82
Fix sound card config...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 13 03:10:27 2008 +0200 (2008-05-13) |
parents | 462fdc0df26f |
children | 5e37c635db43 |
files | etc/init.d/hwconf.sh |
line diff
1.1 --- a/etc/init.d/hwconf.sh Tue May 13 02:51:52 2008 +0200 1.2 +++ b/etc/init.d/hwconf.sh Tue May 13 03:10:27 2008 +0200 1.3 @@ -72,10 +72,8 @@ 1.4 # Sound card my already be detected by PCI-detect. 1.5 elif [ -d /proc/asound ]; then 1.6 cp /proc/asound/modules /var/lib/sound-card-driver 1.7 + /usr/bin/amixer >/dev/null || /usr/sbin/soundconf 1.8 /usr/sbin/setmixer 1.9 - if /usr/sbin/setmixer | grep -q "error"; then 1.10 - /usr/sbin/soundconf 1.11 - fi 1.12 # Start soundconf to config driver and load module for Live mode 1.13 # if not yet detected. 1.14 elif [ ! -s /var/lib/sound-card-driver ]; then