X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=blobdiff_plain;f=autoconfig.functions;h=fe4caf5fd57cad94388a85f72cb5130de379f41a;hp=9218b7b0f63e136ab99ac541ac714ee450f1e644;hb=8c5bbfd9c98a8ab7cbc78911d18aca5377b64d42;hpb=c206357258e582af239232ef92059962df6b0fd5 diff --git a/autoconfig.functions b/autoconfig.functions index 9218b7b..fe4caf5 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -700,7 +700,7 @@ if checkbootparam "blacklist" ; then echo "alias $BLACK off" >> /etc/modprobe.d/grml echo "# end entry generated by config_blacklist of grml-autoconfig" >> /etc/modprobe.d/grml ; eend $? else - eerror "No given module for blacklist found. Blacklisting will not work therefor." + eerror "No given module for blacklist found. Blacklisting will not work therefore." fi else ewarn "Backlisting via bootoption does not work on harddisk installations." ; eend 1 @@ -1466,6 +1466,11 @@ if ! [ -x /usr/bin/aumix ] ; then eerror "aumix binary not available. Can not set sound volumes therefore." ; eend 1 else + if ! [ -r /proc/asound/cards ] ; then + ewarn "No soundcard present, skipping mixer settings therefore." ; eend 0 + return + fi + if checkbootparam vol ; then VOL="$(getbootparam 'vol' 2>>$DEBUG)" if [ -z "$VOL" ] ; then