maybe bug fix

This commit is contained in:
inxi-svn 2011-04-30 07:15:03 +00:00
parent 5d09b8edde
commit 9100ceff1c

15
inxi
View file

@ -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