summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-02-11 18:40:47 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-02-11 18:40:47 -0600
commitb74e8459cbc478f53ce36f47a872f178e30eaa9f (patch)
tree19a9dbc2c9edeb14f3173bbc7c1096ae8d117d5e
parentremove hal support (diff)
downloadlivecd-tools-b74e8459cbc478f53ce36f47a872f178e30eaa9f.tar.gz
livecd-tools-b74e8459cbc478f53ce36f47a872f178e30eaa9f.tar.bz2
livecd-tools-b74e8459cbc478f53ce36f47a872f178e30eaa9f.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