X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=f2e48ac8f205391fa094445ccd17c568611f9de5;hp=04bdc80545899a6fdba5ac115126c61c69a5b160;hb=d38b5dc7d0405b71eaf2fc23ba3869d2f292e7fd;hpb=74288c3e75449b13db626cc891bdb0622218f992 diff --git a/autoconfig.functions b/autoconfig.functions index 04bdc80..f2e48ac 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1317,6 +1317,9 @@ config_mixer () { IFS=' ' for CONTROL in ${=CONTROLS} ; do + # such devices can not be controlled with amixer ... unmute + [[ "$CONTROL" == *Console* ]] && continue + if ! echo "${CONTROL}" | grep -q -i "mic" ; then if amixer -c $card sget "${CONTROL}" | grep -q 'Capabilities:.*pswitch' ; then amixer -c $card -q set "${CONTROL}" unmute @@ -1718,7 +1721,7 @@ if checkbootparam 'debs' ; then # backwards compatibility: if no path is given get debs from debs/ DEBS="debs/$DEBS" fi - einfo "Tring to install debian package(s) ${DEBS}" + einfo "Trying to install Debian package(s) ${DEBS}" DEBS="$(eval echo ${DCSDIR}/$DEBS)" dpkg -i $DEBS ; eend $? fi