Corretto problema di inizializzazione variabile LOG_OUTPUT_DRV_FILE
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
# 0.5.4 - 13/11/2017
|
||||||
|
- Fix bad initialization LOG_OUTPUT_DRV_FILE variable if not defined in config file
|
||||||
|
|
||||||
# 0.5.3 - 19/11/2017
|
# 0.5.3 - 19/11/2017
|
||||||
- Fix send parameter on event init_before and init_after
|
- Fix send parameter on event init_before and init_after
|
||||||
- Added WEATHER argument in check_rain_sensor_after and check_rain_sensor_change event
|
- Added WEATHER argument in check_rain_sensor_after and check_rain_sensor_change event
|
||||||
|
|||||||
@@ -824,7 +824,7 @@ LAST_WARNING_FILE="$STATUS_DIR/last_warning"
|
|||||||
LAST_SUCCESS_FILE="$STATUS_DIR/last_success"
|
LAST_SUCCESS_FILE="$STATUS_DIR/last_success"
|
||||||
|
|
||||||
if [ -z $LOG_OUTPUT_DRV_FILE ]; then
|
if [ -z $LOG_OUTPUT_DRV_FILE ]; then
|
||||||
$LOG_OUTPUT_DRV_FILE="/dev/null"
|
LOG_OUTPUT_DRV_FILE="/dev/null"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$EVENT_DIR" ]; then
|
if [ -z "$EVENT_DIR" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user