diff --git a/inxi b/inxi index f6bd98c..470ec34 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.5.26 +#### version: 0.5.27 #### Date: November 13 2008 ######################################################################## #### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif @@ -1016,7 +1016,13 @@ get_audio_data() # now we'll add in the alsa data if the file exists alsa_index=${#A_AUDIO_DATA[@]} if [[ -e /proc/asound/version ]];then - A_AUDIO_DATA[$alsa_index]="$( cat /proc/asound/version ),alsa" + A_AUDIO_DATA[$alsa_index]=$( gawk '{ + { IGNORECASE=1 } + gsub( "Driver ","",$0 ) + if ( $0 != "" ){ + print $0 ",alsa" + } + }' /proc/asound/version ) fi }