small bug fix for ancient networking stuff

This commit is contained in:
inxi-svn 2014-08-11 23:08:40 +00:00
parent a67aab89b1
commit 0dbe19b9d2

3
inxi
View file

@ -6547,9 +6547,9 @@ get_network_advanced_data()
speed='' speed=''
# strip out trailing spaces # strip out trailing spaces
if_item=${if_item%% } if_item=${if_item%% }
if_id=$if_item
#echo wp1: $working_path #echo wp1: $working_path
if [[ $working_path != '' ]];then if [[ $working_path != '' ]];then
if_id=$if_item
if [[ $b_path_made == 'false' ]];then if [[ $b_path_made == 'false' ]];then
full_path=$working_path/net/$if_item full_path=$working_path/net/$if_item
else else
@ -6571,6 +6571,7 @@ get_network_advanced_data()
chip_id=${a_network_adv_working[10]} chip_id=${a_network_adv_working[10]}
fi fi
fi fi
#echo fp: $full_path #echo fp: $full_path
#echo id: $if_id #echo id: $if_id
# echo "$if_data ii: $if_item $array_counter i: $i" # echo "$if_data ii: $if_item $array_counter i: $i"