From aa9799cdafec30ef93834fa20acc49069cc2b300 Mon Sep 17 00:00:00 2001 From: lejubila Date: Sat, 24 Aug 2019 09:52:46 +0200 Subject: [PATCH] Rimosso alcune linee commentate --- piGarden.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/piGarden.sh b/piGarden.sh index a455c20..4ce16f6 100755 --- a/piGarden.sh +++ b/piGarden.sh @@ -563,15 +563,7 @@ function json_status { if [[ ! -z "$last_weather_online" ]]; then json_last_weather_online=$last_weather_online fi - #if [ -f "$LAST_INFO_FILE.$current_pid" ]; then - # last_info=`cat "$LAST_INFO_FILE.$current_pid"` - #fi - #if [ -f "$LAST_WARNING_FILE.$current_pid" ]; then - # last_warning=`cat "$LAST_WARNING_FILE.$current_pid"` - #fi - #if [ -f "$LAST_SUCCESS_FILE.$current_pid" ]; then - # last_success=`cat "$LAST_SUCCESS_FILE.$current_pid"` - #fi + last_info="$MESSAGE_INFO" last_warning="$MESSAGE_WARNING" last_success="$MESSAGE_SUCCESS"