summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-11 18:40:47 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-04-30 21:46:14 -0500
commit69356097f4e72c528e293858993ec8dddea321a2 (patch)
tree48db62e475500ea1b94cbb7927f4bec7cbee7e59
parentremove hal support (diff)
downloadlivecd-tools-69356097f4e72c528e293858993ec8dddea321a2.tar.gz
livecd-tools-69356097f4e72c528e293858993ec8dddea321a2.tar.bz2
livecd-tools-69356097f4e72c528e293858993ec8dddea321a2.zip
fix message for sound card
The original message used \n for new lines, but einfo doesn't honor these in openrc.
-rwxr-xr-xautoconfig8
1 files changed, 3 insertions, 5 deletions
diff --git a/autoconfig b/autoconfig
index 565400a..06be5f1 100755
--- a/autoconfig
+++ b/autoconfig
@@ -582,14 +582,12 @@ start() {
then
if [ -n "${SOUND_FULLNAME}" -o -n "${SOUND_DRIVER}" ]
then
- local sndmsg="Soundcard:\n"
+ einfo "Soundcard: "
[ -n "${SOUND_FULLNAME}" ] \
- && sndmsg="${sndmsg} ${WARN}${SOUND_FULLNAME}\n"
+ && einfo " ${WARN}${SOUND_FULLNAME} "
[ -n "${SOUND_DRIVER}" ] \
- && sndmsg="${sndmsg} driver = ${SOUND_DRIVER}\n"
-
- einfo "${sndmsg}"
+ && einfo " driver = ${SOUND_DRIVER}"
if [ -e /proc/asound/cards ]
then