# HG changeset patch # User Christophe Lincoln # Date 1399320531 -7200 # Node ID 0555df1782e6b4e7f0f0ddfcaeeb7f569f035587 # Parent 77ba5ad22d40ee2d81639c0088bdacf076e17c31 Fis sound card config initialization on first boot diff -r 77ba5ad22d40 -r 0555df1782e6 etc/init.d/system.sh --- a/etc/init.d/system.sh Mon May 05 22:02:43 2014 +0200 +++ b/etc/init.d/system.sh Mon May 05 22:08:51 2014 +0200 @@ -51,15 +51,16 @@ /usr/sbin/soundconf -M $DRIVER fi ;; esac -# Sound card may already be detected by PCI-detect. +# Sound card may already be detected by kernel/udev elif [ -d /proc/asound ]; then - # Restore sound config for installed system. + # Restore sound config for installed system if [ -s /var/lib/alsa/asound.state ]; then echo -n "Restoring last alsa configuration..." alsactl restore status else - /usr/sbin/setmixer + # Initialize sound card + alsactl init fi else echo "Unable to configure sound card."