X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=e1330040b7a3629b93343918be2c1a260c16034e;hp=1a3488b83d1af87b17999c7a255fd68dc7bc6cf5;hb=97400bdad03aed28ce75f670ed7e145fadd336db;hpb=b5300e25ae3be33247acc1fde819d7cf2b6e9880 diff --git a/autoconfig.functions b/autoconfig.functions index 1a3488b..e133004 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1153,8 +1153,9 @@ config_mixer () { MICVOL=0 fi - for CONTROL in Master PCM ; do + for CONTROL in Master PCM Front ; do if amixer -q | grep -q "Simple mixer control '$CONTROL'" ; then + amixer -q set "${CONTROL}" unmute 1>/dev/null 2>&1 amixer -q set "${CONTROL}" "${VOL}"% eend $? fi