diff --git a/inxi b/inxi index d5a037a..64f1b9b 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.8.19 #### Date: October 18 2012 -#### Patch Number: 04 +#### Patch Number: 05 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -4870,8 +4870,8 @@ get_network_advanced_data() fi # working_path=$( ls /sys/devices/pci*/*/0000:${a_network_adv_working[4]}/net/*/uevent ) else - # slice off the usb- part - usb_data=$( cut -d '-' -f 2-4 <<< ${a_network_adv_working[10]} ) + # now we'll use the actual vendor:product string instead + usb_data=${a_network_adv_working[10]} usb_vendor=$( cut -d ':' -f 1 <<< $usb_data ) usb_product=$( cut -d ':' -f 2 <<< $usb_data ) # this grep returns the path plus the contents of the file, with a colon separator, so slice that off