slitaz-boot-scripts rev 123

hwconf.sh: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 11:02:59 2008 +0000 (2008-11-22)
parents 992e3ee958ad
children b2a46128ff7b
files etc/init.d/hwconf.sh
line diff
     1.1 --- a/etc/init.d/hwconf.sh	Fri Nov 14 10:30:10 2008 +0000
     1.2 +++ b/etc/init.d/hwconf.sh	Sat Nov 22 11:02:59 2008 +0000
     1.3 @@ -22,7 +22,7 @@
     1.4  	do
     1.5  		if ! `lsmod | grep -q "$mod"` && ! `echo  $BLACKLIST_MODULES | grep -q "$mod"`; then
     1.6  			modname=`echo "$mod" | sed s/_/-/g`
     1.7 -			if [ -n "$(modprobe -l $modname") ]; then
     1.8 +			if [ -f "$(modprobe -l $modname)" ]; then
     1.9  				echo "Loading Kernel modules: $modname"
    1.10  				detect="$detect $modname"
    1.11  				/sbin/modprobe $modname