debugger added

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

3
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