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
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
ERROR=$(aumix -w $VOL -v $VOL -p $VOL -m $VOL 2>&1) ; RC=$?
if [ -n "$ERROR" ] ; then
eindent
- eerror "Problem setting mixer volumes: $ERROR"
+ eerror "Problem setting mixer volumes: $ERROR (no soundcard?)"
eoutdent
fi
eend $RC