mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
bug fix, advanced -n
This commit is contained in:
parent
5abe728d51
commit
48bfe97c44
6
inxi
6
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
|
||||
|
|
Loading…
Reference in a new issue