Update powerwall.sh
This commit is contained in:
@@ -194,7 +194,7 @@ CHECKTEMP_SERVICE(){
|
||||
temp_c=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $2}' | sed -e 's/C//g'); temp_c=${temp_c/ /}
|
||||
temp_warn=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $7}' | sed -e 's/C//g'); temp_warn=${temp_warn/ /}
|
||||
temp_crit=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit=${temp_crit/ /}
|
||||
temp_crit_sys=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit=${temp_crit/ /}
|
||||
temp_crit_sys=$(echo ${SENSOR} | cut -d'p' -f2 | awk '/ / {print $4}' | sed -e 's/C//g'); temp_crit_sys=${temp_crit_sys/ /}
|
||||
vSENSOR=$(echo ${SENSOR} | cut -d'T' -f1 | xargs)
|
||||
SENSOR="${SENSORa}-${vSENSOR// /_}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user