update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='2.167-08122023'
|
VERS='2.168-08122023'
|
||||||
|
|
||||||
noheader=' update service dailytemp '
|
noheader=' update service dailytemp '
|
||||||
|
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ CHECKTEMP_SERVICE(){
|
|||||||
temp_h=''
|
temp_h=''
|
||||||
|
|
||||||
elif [ "${SENSOR_TYPE[${SENSOR}]}" == "remotesystem" ]; then
|
elif [ "${SENSOR_TYPE[${SENSOR}]}" == "remotesystem" ]; then
|
||||||
temp_c=$(ssh root@${REMOTE_SENSORS[${1}]} vcgencmd measure_temp)
|
temp_c=$(ssh root@${REMOTE_SENSORS[${SENSOR}]} vcgencmd measure_temp)
|
||||||
temp_c=${temp_c%\'*}; temp_c=${temp_c#*=}
|
temp_c=${temp_c%\'*}; temp_c=${temp_c#*=}
|
||||||
temp_h=''
|
temp_h=''
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user