From d089bf0211e41fac2d96dfe650d1d1c47ee9e42b Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 23 Jun 2011 02:51:16 +0000 Subject: [PATCH] hot bug fix, removed debuggers --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 )