mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
Trying a little test of the branches and other testing systems.
This commit is contained in:
parent
c915e76a34
commit
eff986799b
19
inxi
19
inxi
|
@ -103,6 +103,7 @@ B_CPU_FLAGS_FULL='false'
|
||||||
B_DEBUG_FLOOD='false'
|
B_DEBUG_FLOOD='false'
|
||||||
# show extra output data
|
# show extra output data
|
||||||
B_EXTRA_DATA='false'
|
B_EXTRA_DATA='false'
|
||||||
|
B_SHOW_EXTRAS='false'
|
||||||
B_SHOW_DISK='false'
|
B_SHOW_DISK='false'
|
||||||
# override certain errors due to currupted data
|
# override certain errors due to currupted data
|
||||||
B_HANDLE_CORRUPT_DATA='false'
|
B_HANDLE_CORRUPT_DATA='false'
|
||||||
|
@ -1805,6 +1806,9 @@ print_it_out()
|
||||||
if [[ $VERBOSITY_LEVEL -ge 4 || $B_SHOW_PARTITIONS == 'true' ]];then
|
if [[ $VERBOSITY_LEVEL -ge 4 || $B_SHOW_PARTITIONS == 'true' ]];then
|
||||||
print_hdd_partition_data
|
print_hdd_partition_data
|
||||||
fi
|
fi
|
||||||
|
if [[ $B_SHOW_EXTRAS == 'true' ]];then
|
||||||
|
print_extras_data
|
||||||
|
fi
|
||||||
if [[ $VERBOSITY_LEVEL -ge 1 || $B_SHOW_INFO == 'true' ]];then
|
if [[ $VERBOSITY_LEVEL -ge 1 || $B_SHOW_INFO == 'true' ]];then
|
||||||
print_info_data
|
print_info_data
|
||||||
fi
|
fi
|
||||||
|
@ -2051,6 +2055,21 @@ print_cpu_flags_full()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print_extras_data()
|
||||||
|
{
|
||||||
|
local extras_data='' ip=''
|
||||||
|
|
||||||
|
if [[ -n $( which lynx ) ]];then
|
||||||
|
ip=$( lynx -dump techpatterns.com/ip | awk -F 'is: ' '{print $2}' )
|
||||||
|
|
||||||
|
if [[ -z $ip ]];then
|
||||||
|
ip='N/A'
|
||||||
|
fi
|
||||||
|
|
||||||
|
extras_data=$( create_print_line "Extras:" "${C1}Wan IP:${C2} $ip" )
|
||||||
|
print_screen_output "$extras_data"
|
||||||
|
}
|
||||||
|
|
||||||
print_gfx_data()
|
print_gfx_data()
|
||||||
{
|
{
|
||||||
local gfx_data='' i='' card_one='Card '
|
local gfx_data='' i='' card_one='Card '
|
||||||
|
|
Loading…
Reference in a new issue