and also making busID into bus-ID to make it consistent as well

This commit is contained in:
inxi-svn 2011-04-30 23:37:24 +00:00
parent 4435de0266
commit cc171bb1d2

12
inxi
View file

@ -4821,7 +4821,7 @@ print_audio_data()
fi
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
bus_usb_text='busID'
bus_usb_text='bus-ID'
else
bus_usb_text='usb-ID'
fi
@ -4861,7 +4861,7 @@ print_audio_data()
fi
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
bus_usb_text='busID'
bus_usb_text='bus-ID'
else
bus_usb_text='usb-ID'
fi
@ -5083,9 +5083,9 @@ print_gfx_data()
gfx_card_data=${a_gfx_working[0]}
if [[ $B_EXTRA_DATA == 'true' ]];then
if [[ -n ${a_gfx_working[1]} ]];then
gfx_bus_id=" ${C1}busID:${C2} ${a_gfx_working[1]}"
gfx_bus_id=" ${C1}bus-ID:${C2} ${a_gfx_working[1]}"
else
gfx_bus_id=" ${C1}busID:${C2} N/A"
gfx_bus_id=" ${C1}bus-ID:${C2} N/A"
fi
fi
if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then
@ -5308,7 +5308,7 @@ print_networking_data()
if [[ -n ${a_network_working[4]} && $B_EXTRA_DATA == 'true' ]];then
if [[ -z $( grep '^usb-' <<< ${a_network_working[4]} ) ]];then
bus_usb_text='busID'
bus_usb_text='bus-ID'
bus_usb_id=${a_network_working[4]}
else
bus_usb_text='usb-ID'
@ -5349,7 +5349,7 @@ print_networking_data()
fi
if [[ -n ${a_network_working[4]} && $B_EXTRA_DATA == 'true' ]];then
if [[ -z $( grep '^usb-' <<< ${a_network_working[4]} ) ]];then
bus_usb_text='busID'
bus_usb_text='bus-ID'
bus_usb_id=${a_network_working[4]}
else
bus_usb_text='usb-ID'