mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
added another wifi detector for output
This commit is contained in:
parent
f9e7b6916c
commit
24421c6f30
2
inxi
2
inxi
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue