diff --git a/inxi b/inxi index 642cf59..e080c28 100755 --- a/inxi +++ b/inxi @@ -4319,8 +4319,8 @@ get_network_advanced_data() # note although this may exist technically don't use it, it's a virtual path # and causes weird cat errors when there's a missing file as well as a virtual path # /sys/bus/pci/devices/0000:02:02.0/net/eth1 - # working_path="/sys/bus/pci/devices/0000:${a_network_adv_working[4]}" - working_path=$( ls /sys/devices/pci*/*/0000:${a_network_adv_working[4]}/net/*/uevent ) + working_path="/sys/bus/pci/devices/0000:${a_network_adv_working[4]}" + # 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[4]} ) @@ -4384,7 +4384,7 @@ get_network_advanced_data() if [[ -n $if_path ]];then if [[ -f $working_path/speed ]];then - speed=$( cat $working_path/speed ) + speed=$( cat $working_path/speed ) gg fi if [[ -f $working_path/duplex ]];then duplex=$( cat $working_path/duplex )