slitaz-boot-scripts diff etc/init.d/hwconf.sh @ 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 46f1b3ef0c8b
children e1b3c72a0920
line diff
     1.1 --- a/etc/init.d/hwconf.sh	Wed Mar 05 09:30:21 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)