added break to the loop now that it's getting so long for usb network, at this point only supporing a single usb network device, have to draw

a line at fringes I think.
This commit is contained in:
inxi-svn 2011-04-30 22:54:42 +00:00
parent f74ca21138
commit ab23b48ae1

1
inxi
View file

@ -3345,6 +3345,7 @@ get_networking_data()
if [[ -n $( grep -isE "$needle" <<< "$lsusb_data" | \
grep -Eisv '(bluetooth| hub|keyboard|mouse|printer| ps2|reader|scan|storage' ) ]];then
card_data=$( grep -isE "$needle" <<< "$lsusb_data" )
break
fi
done
log_function_data 'raw' "lsusb_data:\n$lsusb_data\ncard_data:$card_data"