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
not provide appropriate return code for us.
* config_cpu(): Virtual Box supports ACPI and laptop-detect returns
with '0', so check for it and skip it.
+ * config_mixer(): Add 'no soundcard?' to aumix error message
-- Michael Prokop <mika@grml.org> Wed, 11 Jul 2007 19:25:25 +0200