Update powerwall.sh
This commit is contained in:
1 parent
000cc40c97
commit
6b246adb2d
1 file changed
+2
-5
+2
-5
@@ -50,11 +50,8 @@ CHECKTEMPSENSOR(){
|
||||
|
||||
elif [ "${SENSOR_TYPE[${1}]}" == "system" ]; then
|
||||
temp_c=$(vcgencmd measure_temp)
|
||||
echo "HERE: $temp_c"
|
||||
temp_c=${test%\'*}
|
||||
echo "HERE: $temp_c"
|
||||
temp_c=${test#*=}
|
||||
echo "HERE: $temp_c"
|
||||
temp_c=${temp_c%\'*}; temp_c=${temp_c#*=}
|
||||
|
||||
fi
|
||||
|
||||
if [ "$temp_c" != "null" ] && [ "$temp_c" != "" ]; then
|
||||
|
||||
Reference in new issue
Block a user