slitaz-boot-scripts rev 280 4.6.1
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 | e5d3e6f80efd |
children | 7cb24a5569e4 |
files | etc/init.d/system.sh |
line diff
1.1 --- a/etc/init.d/system.sh Tue Feb 14 19:10:12 2012 +0100 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