Update powerwall.sh
This commit is contained in:
@@ -59,7 +59,7 @@ CHECKTEMPSENSOR(){
|
||||
#echo "$temp_c -> $temp_f"
|
||||
|
||||
if [ $(bc -l <<< "$temp_f >= $temp_warn") -eq 1 ] && [ $(bc -l <<< "$temp_f < $temp_crit") -eq 1 ]; then
|
||||
echo -en "${idsCL[LightMagenta]}WARNING ($temp_f°F)${idsCL[Default]}"
|
||||
echo -en "${idsCL[Yellow]}WARNING ($temp_f°F)${idsCL[Default]}"
|
||||
elif [ $(bc -l <<< "$temp_f >= $temp_crit") -eq 1 ]; then
|
||||
echo -en "${idsCL[Red]}CRITICAL ($temp_f°F)${idsCL[Default]}"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user