mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
more tweaking
This commit is contained in:
parent
8ca542bf1a
commit
7f1e81b280
2
inxi
2
inxi
|
@ -3340,7 +3340,7 @@ get_networking_data()
|
||||||
lsusb_data="$( $lsusb_path 2>/dev/null )"
|
lsusb_data="$( $lsusb_path 2>/dev/null )"
|
||||||
for needle in $USB_NETWORK_SEARCH
|
for needle in $USB_NETWORK_SEARCH
|
||||||
do
|
do
|
||||||
if [[ -n $( grep -isE "$needle" <<< "$lsusb_data" | grep -Eisv '(bluetooth| hub|keyboard|mouse' ) ]];then
|
if [[ -n $( grep -isE "$needle" <<< "$lsusb_data" | grep -Eisv '(bluetooth| hub|keyboard|mouse|printer| ps2|scan' ) ]];then
|
||||||
card_data=$( grep -isE "$needle" <<< "$lsusb_data" )
|
card_data=$( grep -isE "$needle" <<< "$lsusb_data" )
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue