slitaz-boot-scripts rev 48
hwconf.sh: catch sound= in /proc/cmdline
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 09 23:28:30 2008 +0000 (2008-03-09) |
parents | ab85fe3cdaa9 |
children | 49cd9147d12d |
files | etc/init.d/hwconf.sh |
line diff
1.1 --- a/etc/init.d/hwconf.sh Sat Mar 08 10:09:01 2008 +0000 1.2 +++ b/etc/init.d/hwconf.sh Sun Mar 09 23:28:30 2008 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 # Sound configuration stuff. First check if sound=no and remoce all sound 1.5 # Kernel modules. 1.6 # 1.7 -if grep -q -w "sound=" /proc/cmdline; then 1.8 +if grep -q "sound=" /proc/cmdline; then 1.9 DRIVER=`cat /proc/cmdline | sed 's/.*sound=\([^ ]*\).*/\1/'` 1.10 case "$DRIVER" in 1.11 no)