# HG changeset patch # User Pascal Bellard # Date 1205105310 0 # Node ID 07a3b7b653708f239dccd26554a3178db3ea7629 # Parent ab85fe3cdaa9ce7213ca5c6667a74b390e69c72f hwconf.sh: catch sound= in /proc/cmdline diff -r ab85fe3cdaa9 -r 07a3b7b65370 etc/init.d/hwconf.sh --- a/etc/init.d/hwconf.sh Sat Mar 08 10:09:01 2008 +0000 +++ b/etc/init.d/hwconf.sh Sun Mar 09 23:28:30 2008 +0000 @@ -6,7 +6,7 @@ # Sound configuration stuff. First check if sound=no and remoce all sound # Kernel modules. # -if grep -q -w "sound=" /proc/cmdline; then +if grep -q "sound=" /proc/cmdline; then DRIVER=`cat /proc/cmdline | sed 's/.*sound=\([^ ]*\).*/\1/'` case "$DRIVER" in no)