mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
maybe bug fix
This commit is contained in:
parent
5d09b8edde
commit
9100ceff1c
15
inxi
15
inxi
|
@ -462,7 +462,7 @@ BAN_LIST_CPU=''
|
|||
|
||||
### USB networking search string data, because some brands can have other products than
|
||||
### wifi/nic cards, they need further identifiers, with wildcards.
|
||||
USB_NETWORK_SEARCH="Atmel Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN"
|
||||
USB_NETWORK_SEARCH="Atmel CanoScan Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN"
|
||||
|
||||
# WARNING: In the main part below (search for 'KONVI')
|
||||
# there's a check for Konversation-specific config files.
|
||||
|
@ -3327,14 +3327,15 @@ get_networking_data()
|
|||
print string ",,,,usb-" $6
|
||||
}
|
||||
}' <<< "$card_data" )
|
||||
|
||||
# if [[ -n $array_string ]];then
|
||||
# array_count=${#A_AUDIO_DATA[@]}
|
||||
# A_NETWORK_DATA[$array_count]="$array_string"
|
||||
# fi
|
||||
IFS=$'\n'
|
||||
if [[ -n $array_string ]];then
|
||||
array_count=${#A_AUDIO_DATA[@]}
|
||||
A_NETWORK_DATA[$array_count]="$array_string"
|
||||
fi
|
||||
IFS="$ORIGINAL_IFS"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [[ $B_SHOW_ADVANCED_NETWORK == 'true' ]];then
|
||||
get_network_advanced_data
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue