more tweaking

This commit is contained in:
inxi-svn 2011-04-30 22:34:29 +00:00
parent 8ca542bf1a
commit 7f1e81b280

2
inxi
View file

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