slitaz-boot-scripts rev 22

Fix alsactl restore
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 15 14:04:57 2008 +0100 (2008-02-15)
parents 3cebbdadf040
children e122131b9ad6
files etc/init.d/hwconf.sh
line diff
     1.1 --- a/etc/init.d/hwconf.sh	Mon Jan 14 13:40:00 2008 +0100
     1.2 +++ b/etc/init.d/hwconf.sh	Fri Feb 15 14:04:57 2008 +0100
     1.3 @@ -34,7 +34,7 @@
     1.4  	fi
     1.5  fi
     1.6  # Restore sound config for installed system.
     1.7 -if [ ! -f /var/lib/sound-card-driver ]; then
     1.8 +if [ -f /var/lib/sound-card-driver ]; then
     1.9  	echo -n "Restoring last alsa configuration..."
    1.10  	alsactl restore
    1.11  	status