mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
removed legacy comment, args, etc
This commit is contained in:
parent
2467841555
commit
61f3d09376
5
inxi
5
inxi
|
@ -4864,7 +4864,7 @@ print_networking_data()
|
||||||
network_data="${C1}$card_one${C2} ${a_network_working[0]}$driver_data$port_data$pci_bus_id"
|
network_data="${C1}$card_one${C2} ${a_network_working[0]}$driver_data$port_data$pci_bus_id"
|
||||||
network_data=$( create_print_line "Network:" "$network_data" )
|
network_data=$( create_print_line "Network:" "$network_data" )
|
||||||
print_screen_output "$network_data"
|
print_screen_output "$network_data"
|
||||||
print_network_advanced_data "${a_network_working[4]}"
|
print_network_advanced_data
|
||||||
i=0 ## loop starts with 1 by auto-increment so it only shows cards > 1
|
i=0 ## loop starts with 1 by auto-increment so it only shows cards > 1
|
||||||
while [[ -n ${A_NETWORK_DATA[++i]} ]]
|
while [[ -n ${A_NETWORK_DATA[++i]} ]]
|
||||||
do
|
do
|
||||||
|
@ -4895,7 +4895,7 @@ print_networking_data()
|
||||||
network_data=$( create_print_line " " "$network_data" )
|
network_data=$( create_print_line " " "$network_data" )
|
||||||
|
|
||||||
print_screen_output "$network_data"
|
print_screen_output "$network_data"
|
||||||
print_network_advanced_data "${a_network_working[4]}"
|
print_network_advanced_data
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
if [[ $B_SHOW_IP == 'true' ]];then
|
if [[ $B_SHOW_IP == 'true' ]];then
|
||||||
|
@ -4904,7 +4904,6 @@ print_networking_data()
|
||||||
eval $LOGFE
|
eval $LOGFE
|
||||||
}
|
}
|
||||||
|
|
||||||
# args: $1 - pci bus id
|
|
||||||
print_network_advanced_data()
|
print_network_advanced_data()
|
||||||
{
|
{
|
||||||
eval $LOGFS
|
eval $LOGFS
|
||||||
|
|
Loading…
Reference in a new issue