debugger added

This commit is contained in:
inxi-svn 2011-06-06 04:35:17 +00:00
parent 3ac87738a9
commit 5eca5a85a9

5
inxi
View file

@ -3959,7 +3959,7 @@ get_network_advanced_data()
a_network_adv_working[1]=$driver_test a_network_adv_working[1]=$driver_test
fi fi
fi fi
log_function_data "PRE: working_path: $working_path\nworking_uevent_path: $working_uevent_path"
if [[ -e $working_uevent_path/net ]];then if [[ -e $working_uevent_path/net ]];then
if_path=$( ls $working_uevent_path/net 2>/dev/null ) if_path=$( ls $working_uevent_path/net 2>/dev/null )
if_id=$if_path if_id=$if_path
@ -3976,6 +3976,7 @@ get_network_advanced_data()
if_id=$( cut -d ':' -f 2 <<< "$if_path" ) if_id=$( cut -d ':' -f 2 <<< "$if_path" )
working_path=$working_uevent_path/$if_path working_path=$working_uevent_path/$if_path
fi fi
log_function_data "POST: working_path: $working_path\nif_path: $if_path - if_id: $if_id"
if [[ -n $if_path ]];then if [[ -n $if_path ]];then
if [[ -f $working_path/speed ]];then if [[ -f $working_path/speed ]];then
@ -3995,7 +3996,7 @@ get_network_advanced_data()
A_NETWORK_DATA[i]=${a_network_adv_working[0]}","${a_network_adv_working[1]}","${a_network_adv_working[2]}","${a_network_adv_working[3]}","${a_network_adv_working[4]}","$if_id","$oper_state","$speed","$duplex","$mac_id A_NETWORK_DATA[i]=${a_network_adv_working[0]}","${a_network_adv_working[1]}","${a_network_adv_working[2]}","${a_network_adv_working[3]}","${a_network_adv_working[4]}","$if_id","$oper_state","$speed","$duplex","$mac_id
IFS="$ORIGINAL_IFS" IFS="$ORIGINAL_IFS"
done done
eval $LOGFE eval $LOGFE
} }