Update powerwall.sh
This commit is contained in:
@@ -23,7 +23,7 @@ CHECKTEMP(){
|
|||||||
#echo "$temp_c -> $temp_f"
|
#echo "$temp_c -> $temp_f"
|
||||||
|
|
||||||
temp_warn=${TEMP_THRESHOLDS[${1}]}
|
temp_warn=${TEMP_THRESHOLDS[${1}]}
|
||||||
echo temp_warn
|
echo $temp_warn
|
||||||
|
|
||||||
if [ $temp_f -ge ${TEMP_THRESHOLDS[${1}]['warn']} ] && [ $temp_f -lt ${TEMP_THRESHOLDS[${1}]['crit']} ]; then
|
if [ $temp_f -ge ${TEMP_THRESHOLDS[${1}]['warn']} ] && [ $temp_f -lt ${TEMP_THRESHOLDS[${1}]['crit']} ]; then
|
||||||
echo "WARNING: $temp_f"
|
echo "WARNING: $temp_f"
|
||||||
|
|||||||
Reference in New Issue
Block a user