From ab23b48ae1692196f360bafe791ced07ce1d8cc6 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 30 Apr 2011 22:54:42 +0000 Subject: [PATCH] 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. --- inxi | 1 + 1 file changed, 1 insertion(+) diff --git a/inxi b/inxi index cdb7904..15c8e00 100755 --- a/inxi +++ b/inxi @@ -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"