mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
(change version)
Some last code cleanup, comment cleanup, tweaked a few small things.
This commit is contained in:
parent
83a50c790a
commit
3061f80d1a
9
inxi
9
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.5.16
|
||||
#### version: 0.5.17
|
||||
#### Date: November 11 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -998,7 +998,7 @@ get_cpu_core_count()
|
|||
A_CPU_CORE_DATA=( "$cpu_core_count" "$cpu_alpha_count Core" )
|
||||
}
|
||||
|
||||
## working, will be replaced by new trash80 stuff
|
||||
## main cpu data collector
|
||||
get_cpu_data()
|
||||
{
|
||||
local i='' j='' cpu_array_nu='' a_cpu_working='' multi_cpu=''
|
||||
|
@ -1484,8 +1484,7 @@ get_hard_drive_data_advanced()
|
|||
fi
|
||||
IFS="$ORIGINAL_IFS"
|
||||
|
||||
## then we'll loop through that array looking for matches. Note, with identical drives this will fail, sigh..
|
||||
## for future use, that should be tightened up, but for now it's fine.
|
||||
## then we'll loop through that array looking for matches.
|
||||
if [[ -n $( egrep 'sd[a-z]' <<< ${A_HDD_DATA[@]} ) ]];then
|
||||
# first pack the main ls variable so we don't have to keep using ls /dev...
|
||||
ls_disk_by_id="$( ls -l /dev/disk/by-id )"
|
||||
|
@ -1743,7 +1742,7 @@ print_it_out()
|
|||
if [[ $VERBOSITY_LEVEL -ge 1 || $B_SHOW_GRAPHICS == 'true' ]];then
|
||||
print_gfx_data
|
||||
fi
|
||||
if [[ $B_SHOW_AUDIO == 'true' ]];then
|
||||
if [[ $VERBOSITY_LEVEL -ge 5 || $B_SHOW_AUDIO == 'true' ]];then
|
||||
print_audio_data
|
||||
fi
|
||||
if [[ $VERBOSITY_LEVEL -ge 2 || $B_SHOW_NETWORK == 'true' ]];then
|
||||
|
|
Loading…
Reference in a new issue