slitaz-boot-scripts diff etc/init.d/system.sh @ rev 280
system.sh: Fix sound config restoration, config moved to /var/lib/alsa/asound.state
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 16 11:18:11 2012 +0100 (2012-02-16) |
parents | bfb8a5936ba1 |
children | 8cc80e0d7d4e |
line diff
1.1 --- a/etc/init.d/system.sh Wed May 18 21:45:02 2011 +0200 1.2 +++ b/etc/init.d/system.sh Thu Feb 16 11:18:11 2012 +0100 1.3 @@ -62,7 +62,7 @@ 1.4 # Sound card may already be detected by PCI-detect. 1.5 elif [ -d /proc/asound ]; then 1.6 # Restore sound config for installed system. 1.7 - if [ -s /etc/asound.state ]; then 1.8 + if [ -s /var/lib/alsa/asound.state ]; then 1.9 echo -n "Restoring last alsa configuration..." 1.10 alsactl restore 1.11 status