mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
moved man pages to trunk, easier that way
This commit is contained in:
parent
4bdb6b0621
commit
911fe425dc
15
inxi
15
inxi
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.8.3
|
#### version: 1.8.4
|
||||||
#### Date: May 14 2012
|
#### Date: May 15 2012
|
||||||
#### Patch Number: 00
|
#### Patch Number: 00
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -6115,9 +6115,6 @@ get_sensors_data()
|
||||||
}
|
}
|
||||||
}' <<< "$Sensors_Data"
|
}' <<< "$Sensors_Data"
|
||||||
) )
|
) )
|
||||||
# the error case needs to go here because we are setting special array delimiter ','
|
|
||||||
else
|
|
||||||
A_SENSORS_DATA=( "You do not have the sensors app installed." )
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
|
@ -8151,10 +8148,10 @@ print_sensors_data()
|
||||||
a_sensors_working=( ${A_SENSORS_DATA[0]} )
|
a_sensors_working=( ${A_SENSORS_DATA[0]} )
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
# initial error cases, for missing app or unconfigured sensors. Note that array 0
|
# initial error cases, for missing app or unconfigured sensors. Note that array 0
|
||||||
# always has at least 3 items, cpu/mobo/psu temp in it. If it's a single item, then
|
# always has at least 3 items, cpu/mobo/psu temp in it. If the count is 0, then
|
||||||
# it's an error message, not the real data arrays.
|
# no sensors are installed/configured
|
||||||
if [[ ${#a_sensors_working[@]} -eq 1 ]];then
|
if [[ ${#a_sensors_working[@]} -eq 0 ]];then
|
||||||
cpu_temp="${C1}Error:${C2} ${A_SENSORS_DATA[0]}"
|
cpu_temp="None detected - is lm-sensors installed and configured?"
|
||||||
b_is_error='true'
|
b_is_error='true'
|
||||||
else
|
else
|
||||||
for (( i=0; i < ${#A_SENSORS_DATA[@]}; i++ ))
|
for (( i=0; i < ${#A_SENSORS_DATA[@]}; i++ ))
|
||||||
|
|
Loading…
Reference in a new issue