mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
debugger added
This commit is contained in:
parent
3ac87738a9
commit
5eca5a85a9
3
inxi
3
inxi
|
@ -3959,7 +3959,7 @@ get_network_advanced_data()
|
|||
a_network_adv_working[1]=$driver_test
|
||||
fi
|
||||
fi
|
||||
|
||||
log_function_data "PRE: working_path: $working_path\nworking_uevent_path: $working_uevent_path"
|
||||
if [[ -e $working_uevent_path/net ]];then
|
||||
if_path=$( ls $working_uevent_path/net 2>/dev/null )
|
||||
if_id=$if_path
|
||||
|
@ -3976,6 +3976,7 @@ get_network_advanced_data()
|
|||
if_id=$( cut -d ':' -f 2 <<< "$if_path" )
|
||||
working_path=$working_uevent_path/$if_path
|
||||
fi
|
||||
log_function_data "POST: working_path: $working_path\nif_path: $if_path - if_id: $if_id"
|
||||
|
||||
if [[ -n $if_path ]];then
|
||||
if [[ -f $working_path/speed ]];then
|
||||
|
|
Loading…
Reference in a new issue