added another wifi detector for output

This commit is contained in:
inxi-svn 2011-06-06 04:04:20 +00:00
parent f9e7b6916c
commit 24421c6f30

2
inxi
View file

@ -5956,7 +5956,7 @@ print_network_advanced_data()
if [[ $B_SHOW_ADVANCED_NETWORK == 'true' ]];then if [[ $B_SHOW_ADVANCED_NETWORK == 'true' ]];then
# first check if it's a known wifi id'ed card, if so, no print of duplex/speed # first check if it's a known wifi id'ed card, if so, no print of duplex/speed
if [[ -n $( grep -Esi '(wireless|wifi|wi-fi|wlan)' <<< ${a_network_working[0]} ) ]];then if [[ -n $( grep -Esi '(wireless|wifi|wi-fi|wlan|802\.11)' <<< ${a_network_working[0]} ) ]];then
b_is_wifi='true' b_is_wifi='true'
fi fi
if [[ -n ${a_network_working[5]} ]];then if [[ -n ${a_network_working[5]} ]];then