mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
and also making busID into bus-ID to make it consistent as well
This commit is contained in:
parent
4435de0266
commit
cc171bb1d2
12
inxi
12
inxi
|
@ -4821,7 +4821,7 @@ print_audio_data()
|
||||||
fi
|
fi
|
||||||
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
|
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
|
||||||
bus_usb_text='busID'
|
bus_usb_text='bus-ID'
|
||||||
else
|
else
|
||||||
bus_usb_text='usb-ID'
|
bus_usb_text='usb-ID'
|
||||||
fi
|
fi
|
||||||
|
@ -4861,7 +4861,7 @@ print_audio_data()
|
||||||
fi
|
fi
|
||||||
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
if [[ -n ${a_audio_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
|
if [[ ${a_audio_working[1]} != 'snd-usb-audio' ]];then
|
||||||
bus_usb_text='busID'
|
bus_usb_text='bus-ID'
|
||||||
else
|
else
|
||||||
bus_usb_text='usb-ID'
|
bus_usb_text='usb-ID'
|
||||||
fi
|
fi
|
||||||
|
@ -5083,9 +5083,9 @@ print_gfx_data()
|
||||||
gfx_card_data=${a_gfx_working[0]}
|
gfx_card_data=${a_gfx_working[0]}
|
||||||
if [[ $B_EXTRA_DATA == 'true' ]];then
|
if [[ $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ -n ${a_gfx_working[1]} ]];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
|
else
|
||||||
gfx_bus_id=" ${C1}busID:${C2} N/A"
|
gfx_bus_id=" ${C1}bus-ID:${C2} N/A"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ ${#A_GFX_CARD_DATA[@]} -gt 1 ]];then
|
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 [[ -n ${a_network_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ -z $( grep '^usb-' <<< ${a_network_working[4]} ) ]];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]}
|
bus_usb_id=${a_network_working[4]}
|
||||||
else
|
else
|
||||||
bus_usb_text='usb-ID'
|
bus_usb_text='usb-ID'
|
||||||
|
@ -5349,7 +5349,7 @@ print_networking_data()
|
||||||
fi
|
fi
|
||||||
if [[ -n ${a_network_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
if [[ -n ${a_network_working[4]} && $B_EXTRA_DATA == 'true' ]];then
|
||||||
if [[ -z $( grep '^usb-' <<< ${a_network_working[4]} ) ]];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]}
|
bus_usb_id=${a_network_working[4]}
|
||||||
else
|
else
|
||||||
bus_usb_text='usb-ID'
|
bus_usb_text='usb-ID'
|
||||||
|
|
Loading…
Reference in a new issue